4 ms·
C (note lack of quotes) and Haskell regularly trade off "Fastest language in the world" spots on shootouts. Maybe "C" (with quotes), which is obviously a differ
by cbd1984 12y ago
C (note lack of quotes) and Haskell regularly trade off "Fastest language in the world" spots on shootouts. Maybe "C" (with quotes), which is obviously a different language, is faster; I doubt it.
- mhaymo 12y agoNo they don't, Haskell is anywhere from 2-6x slower at the same problems. http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?test=all&lang=ghc&lang2=gcc&data=u64q http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...