4 ms·
As many advocates of functional programming point out, in many cases the speed of development is more valuable than the running time of the code. The great stre
by nemo1618 14y ago
As many advocates of functional programming point out, in many cases the speed of development is more valuable than the running time of the code. The great strength of Haskell and other FPs is their readability and modularity. Trying to win people over with benchmarks is the wrong approach IMO.
- PaulAJ 14y agoIts more a matter of trying to nix the "Haskell would be nice, but its too slow to be practical" line that many see as a killer.
- chc 14y agoDoes Haskell really have a reputation for being slow? In a world where Ruby is the de facto standard for startups, I wouldn't think Haskell would have anything to worry about.
- chongli 14y agoIt does. A lot of people have written ignorant blog posts whereby they show their first "real" Haskell program is extremely slow compared to their heavily optimized C version (with years of experience behind it). A cursory glance at the code, however, reveals that their Haskell program is using linked lists of linked lists of boxed arbitrary precision integers while the C version uses a 2D array of ints. Okay, perhaps that's a bit of an exaggeration but you get the idea.
- lucian1900 14y agoThe point is that it's comparable to C in speed, which is almost always good enough.