Bill Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

September 2003
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Aug  Oct

Java/Smalltalk Web Framework comparison

Sunday, September 28, 2003

Wafer (Web Application Framework Research project) is a research project that attempts to compare different open source web application frameworks using a common example application. It's aim is "to compare the application frameworks on a level field by specifying an example application so that the application features become irrelevent and the merits of each framework becomes the focus". Chris Double points to a comparison between an implementation of the Wafer weblog specification that was done in Java with the Struts framework and one that was done using Smalltalk with the Seaside framework. Here is a breakdown of some of the numbers:
MetricJava (Struts)Smalltalk (Seaside)Ratio (Java:Smalltalk)
Executable Size (uncompressed)4.1 MB (yes MB)26,759 B (yes bytes)153:1
# of Files1551155:1
Source size159,554 B26,759 B6:1
Classes36123:1
I would have expected the Smalltalk implementation to be more compact, but these numbers are radically different. It would be really interesting to see some sort of breakdown explaining why the Seaside implementation is so much smaller in size by somebody who knows both Struts and Seaside.

emacs Copyright © 2004 by Bill Clementson