Hacker News new | ask | show | jobs
by 978e4721a 2109 days ago
IMHO

The only problem with Haskell is that it's on a journey to dependent types and they haven't released new standard yet.

It's future will depend on how good that future standard will be.

Rust is becoming more popular than Haskell because It's in a different niche (no gc). Not because it's more productive to write Rust code.

Haskell is still much easier and faster to write than any other production language.

Try to compare merge function for merge sort in Haskell and in other languages.

1 comments

As much as I love Haskell, once you start caring about performance, laziness and GC gets in the way. Records are still a pain to deal with. Prelude is not safe. Async exceptions bit you like in most other languages. String, bytestring, text exist. There's also tons of extensions which I hope were a default in a production language. The language is huge. I doubt having dependent types is a factor.

Haskell is definitely my favourite language but I don't think it's the easiest language to write. It could be, with the right set of defaults but it's not - and it's by choice: Haskell wants to be a language to explore language design.

Rust is a production language and solves an interesting set of problems (safety, gc spikes). I don't like the language particularly, but it's concise and it has modern features. It gets stuff done and that's why it's getting popular.