Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Haskell, OCaml, SML, Idris also compile quite fast, with complex type systems.

Their secret? Multiple backends with different kinds of optimizations.

You don't need to compile for the ultimate release performance when in the middle of compile-debug-edit cycle.



From my (limited) experience, Haskell does not compile fast, especially if you’re doing something that needs lenses.


It surely does, because Haskell is not one compiler language, not only does it have multiple implementations, which I concede almost everyone only cares about GHC, there are interpreters and a REPL experience as well.

You don't need to compile your program in one go using GHC's LLVM backend, many times a GHCi session is more than enough.


Haskell and Idris both have very slow compilation time.


Only when using release mode compilers, they also have interpreters and REPLs to choose from.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: