4 ms·
Anyone willing to take up this challenge? http://tech.slashdot.org/comments.pl?sid=1244601&cid=28085625 http://tech.slashdot.org/comments.pl?sid=1244601&cid=28
by ilitirit 17y ago
Anyone willing to take up this challenge?
http://tech.slashdot.org/comments.pl?sid=1244601&cid=28085625 http://tech.slashdot.org/comments.pl?sid=1244601&cid=280...
- tsuraan 17y agoSounds like something the Alioth performance game was meant for. I'd point him towards chameneos-redux; the current haskell implementation (http://shootout.alioth.debian.org/u32q/benchmark.php?test=chameneosredux&lang=ghc&id=2 http://shootout.alioth.debian.org/u32q/benchmark.php?test=ch...) is taking 3.73s to run, while the C champion (http://shootout.alioth.debian.org/u32q/benchmark.php?test=chameneosredux&lang=gcc&box=1 http://shootout.alioth.debian.org/u32q/benchmark.php?test=ch...) is taking 12.29s. The current C implementation is also small, so I would imagine that it qualifies as a "relatively simple task".
- deleted 17y ago[deleted]
- anamax 17y agoWhy? He's correct. Given enough time, he probably can recreate any lisp program with a faster C program. A good assembly language person can do better still. However, if we're looking at the total time to running said program 1000 or even 1 million times, he's likely to lose. While he's recreating a given program, the lisp programmer has produced N more programs. He'll never keep up.