[ale] Thread safe coding, Java or C

Rev. Johnny Healey rev.null at gmail.com
Wed Jul 24 09:51:06 EDT 2013


On Jul 20, 2013 12:48 AM, "Dustin Strickland" <dustin.h.strickland at gmail.com>
wrote:
>
>
> From
> http://stackoverflow.com/questions/6964392/speed-comparison-with-project-euler-c-vs-python-vs-erlang-vs-haskell
> :
>
> C: 100%
>> python: 692% (118% with pypy)
>> erlang: 436% (135% thanks to RichardC)
>> haskell: 1421%
>
>
>
It's worth reading the first reply to this stackoverflow post where someone
points out a few simple modifications to fix the haskell performance so
that it is actually faster than the C implementation.

When comparing programming language performance, the best resource I've
found is the Debian programming language shootout:

 http://benchmarksgame.alioth.debian.org/



-Johnny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130724/d0b73c52/attachment.html>


More information about the Ale mailing list