6 ms·
It is not a "trap". In "C" it is required to generate fast machine code. It's a trade-off, not a "trap".
by lucio 12y ago
It is not a "trap". In "C" it is required to generate fast machine code. It's a trade-off, not a "trap".
- cbd1984 12y agoC (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...