Re:Haskell Beats C Using Generalized Stream Fusion [pdf]
by gngeal on Sunday April 07, 2013 @01:19PM
(#5507858)
"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.
Re:Haskell Beats C Using Generalized Stream Fusion [pdf]
by ori_b on Sunday April 07, 2013 @05:57PM
(#5508938)
Which is why C and C++ under most state of the art compilers support link time optimization.
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.