News for hackers. Stuff that matters.
Re:Are functional languages inherently slow? by dmlorenzetti on Thursday July 26, 2012 @12:54PM (#4297041)
If you have a benchmark comparing C with a functional language then it is almost certainly an extremely simple program. Arguably so simple that it is of little practical relevance today.

A lot of simple tasks are highly relevant. For example, in numerical simulation, you probably want a fast matrix-vector multiply. Conceptually this is extremely simple, and it's easy to benchmark. Examples of practical relevance: climate modeling, simulating combustion in engines, and optimizing control surfaces on airplanes.

"Sort" is simple. Does that make it irrelevant?

How about finding the standard deviation of a bunch of numbers?

Re:Are functional languages inherently slow? by sbi on Thursday July 26, 2012 @02:37PM (#4297822)
How relevant are numerical benchmarks when comparing languages? In practice you'll probably use BLAS, LAPACK, etc. for numerical computing and get on with it; you're unlikely to write code that is both faster and numerically stable.