3 ms·
> nobody who writes C# managed to produce a benchmark yet that beats a C++ program No, but I've seen Haskell programs that were much faster than the C++ progra
by lmm 10y ago
> nobody who writes C# managed to produce a benchmark yet that beats a C++ program
No, but I've seen Haskell programs that were much faster than the C++ program they replaced, which is what matters in the real world.
Microbenchmarks measure what happens if you have the time to polish every single line to perfection. If you have infinite developer time then C++ will be faster than most languages. But infinite developer time is a negligible use case.
- igouy 10y agoDid the Haskell programs implement the same algorithm?