4 ms·
While it is interesting to see generalised stream fusion, the conclusions are that Haskell is still half the speed of C++. Also, looking at the results most of
by CJefferson 14y ago
While it is interesting to see generalised stream fusion, the conclusions are that Haskell is still half the speed of C++.
Also, looking at the results most of the performance comes from which library you are using, and how well it is optimised. No compiler is good enough to do what the good libraries do.
- miga 14y agoStream fusion is an optimization framework that is (to my knowledge) defined in the library, but common to most sequence types in Haskell.
- gngeal 14y ago"No compiler is good enough to do what the good libraries do." That's nonsense. And if you take a look, say, at NumPy, which uses heavily tuned BLAS/LAPACK code, and Numexpr, which uses the "compile the snippet and run it" approach, you'll see why. Libraries won't save your performance if you can't optimize across procedure and module boundaries.