Re:Why functional programming matters (1990) [pdf]
by randomidiot123 on Saturday November 09, 2019 @01:38AM
(#21490021)
Of course they have been benchmarked. Both compile to native code, so performance can be roughly the same if the algorithms are the same. However, figuring out how to design a Haskell program that reaches maximum performance is very difficult, and the code probably won't be idiomatic.
[ Parent
| on HN ]
Re:Why functional programming matters (1990) [pdf]
by jolux on Saturday November 09, 2019 @11:00AM
(#21492242)
> Both compile to native code, so performance can be roughly the same if the algorithms are the same.
Can and will are very different statements here though, particularly as the quality of a compiler makes an enormous difference in the performance of the resulting code.