I'm disappointed: an infinite loop in a program takes a long time to execute. I though it was supposed to be a fast language!

@liw Did you compare it to other infinite loops to see which one was fastest?


echo 'main = print $ let y = z + 1 ; z = y - 1 in y' > foo.hs
ghc --make foo
foo: <<loop>>

haskell speed always being underestimated

@joeyh Interesting that if you load and run foo.hs in ghci it's noticeably [¹] slower.

[¹] Infinitely, I assume, but didn't have time to check. Maybe later.


Sign in to participate in the conversation

Lars and friends