Updated: 11/5/2005; 6:04:13 PM.
Chris Double's Radio Weblog
        

Sunday, May 11, 2003

Oleg's site is also a fantastic resource on lots of different programming topics. It's well worth spending some time browsing through it.
1:53:36 AM      

Oleg posts on comp.lang.scheme about a benchmark comparing the performance of an XML parser written in Scheme and one written in C. The benchmark and source code are discussed on a SSAX benchmarking page

The scheme XML parser is SSAX and the C parser was Expat. SSAX is completely written in Scheme in a functional style and is referentially transparent. There is not a single assignment in SSAX to be seen.

The result of the benchmark is that the SSAX parser was measurably faster than Expat. Hopefully this will help dispel the commonly held belief that Lisp is slow - or functional programs are slower than C programs.


1:49:45 AM      

© Copyright 2005 Chris Double.
 
May 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 31
Apr   Jun



Click here to visit the Radio UserLand website.

Listed on BlogShares

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.