by nextos · 6y ago · 0 comments
I'm very familiar with the Lisp family of languages (Scheme, Common Lisp, Clojure, Dylan, Julia...) and with some from the ML family as well (SML and Scala).
Is Haskell worth the effort for a small organization like a startup or a research lab? Would it bring something different when compared to those other languages? If so, in what domains? If one wants to have strict guarantees in the form of proofs why not using Agda or Idris instead?
Of all the languages I've used in production on the backend (Haskell, JVM, Go, Python), GHC's RTS is definitely the best.
Because they're research languages. The amount of non-toy software actually verified in them is zero. I'm not even sure if there's any non-toy software written in Idris besides the Idris compiler itself.
Coq's track record is better, but its language is ugly as hell in comparison (and to actually do anything you'd need to extract to Ocaml/Haskell anyway and the same applies to Agda).
* The type-system is a delightful and lets you control and secure your program in a unique way.
* The language model and idioms are elegant and highly expressive.
* Once you become proficient you can write code as fast as you would with python (without libraries/frameworks)
On top of this the library ecosystem, and development tools are about on par with general standards, and the compiler + runtime are exceptional.