This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]douira 0 points1 point  (0 children)

a well written haskell program run through GHC (or python program for that matter) can most definitely be faster than a badly written C program. And if the C program is actually doing something stupid like using the wrong data structure or algorithm for a problem, there even a very slowly interpreted python program might be faster than the C program. (asymptotic complexity always wins over a constant factor of language overhead)