3 ms·
The contradiction of "C is always faster than everything" (apparently shown untrue by comparison on the reverse-complement problem) is not "Haskell is faster th
by pekk 14y ago
The contradiction of "C is always faster than everything" (apparently shown untrue by comparison on the reverse-complement problem) is not "Haskell is faster than C".
- deleted 14y ago[deleted]
- threedaymonk 14y agoIndeed not. The useful point this article makes, I think, is that if you're a good Haskell programmer and a competent C programmer, you can produce working code in both, but you can still produce better-performing code in Haskell. Essentially, the lesson is that there's little point writing code in C for performance unless you're good at it. If you can write good-enough code in a higher-level language that you're happy with, you might already have reached an optimum.