Posts

JVM Notebook New Release Set 2

New release including updates to projects to the following jvm languages: abcl, antlr, ASM, clojure, groovy, jruby, SISC, jython, scala (jvmnotebook_set2_20081016.zip) http://code.google.com/p/jvmnotebook/downloads/list - jvmnotebook_set2_20081016.zip ----

Application server performance testing, includes Django, ErlyWeb, Rails and others

Image
The following represents a set of toy benchmark results for various web application servers including ErlyWeb, Hunchentoot, Django and other application servers. The goal was to test out of the box performance through a simple VIEW page. For example, I was trying to avoid static files but going through the controller and the view. In the Rails example, there is a simple controller that then activates the view template. The same approach is used with the ErlyWeb example. Ideally, we are trying to avoid the server loading the static files but in our case the server may be loading cached content. Overall, Erlang's ErlyWeb/Yaws had great performance and out of the box Django did very well. Tomcat and my various low-level simple JSP/Servlet apps also had stable performance. Software and Hardware Configuration used in the Benchmark Two machines were used in the benchmark, a Win32 dual core machine and a single CPU Linux machine. Win32 Box: Microsoft Windows XP, Vers 2002, Service ...

Neophyte Scheme/Lisp Interpreter in Erlang

Image
Overview This is a follow-up to my earlier entry on Lisp in Java; the entry described implementing a Lisp interpreter in Java. This blog posts covers implementing a similar approach using Erlang. In essence, a port of the JSceme interpreter to Erlang. So you can see compare and contrast the differences in Erlang and Java code. Like I always do, I am going to first introduce Erlang with simple examples and then go over the simple Lisp implementation. All of the source is provided at the end of the entry. What is Erlang? Erlang is a general purpose programming language that is great for writing concurrent applications and components. That is accomplished by some of the slimmed-down language features including immutable code, simple message passing primitives, and lightweight processes. It was created by Ericsson in 1987 and later open sourced in 1998. Erlang language syntax is based on Prolog. Why Erlang? I don't know why the software community can't accept another progr...