Hacker News new | ask | show | jobs
by RyanZAG 4733 days ago
Since you are replying to this in the Haskell thread - Go clearly performs FAR better than Haskell on these simple benchmarks.

So as far as I can tell, the pros of using Haskell over Go would be

1) More safety from crashes

while the Cons of Haskell would be

1) Slightly slower than Go at HTTP

2) Far, far slower than Go at database queries

3) Much steeper learning curve

4) Based on the history of ML languages, will never be popular. Go is gaining popularity quickly.

I think recommending Haskell to someone for a real project is bad advice from the above. Recommending Haskell to someone for self enrichment is another story, and I can get behind that one.

1 comments

1. More safety from bugs in general, not just crashes. Haskell programs will generally be more reliable than Go programs.

2. If you look at the Benchmarks game, you will actually see that Haskell beats go there.

I think this benchmark is far narrower than the Benchmarks game and is thus less representative.

3. shouldn't really be a serious consideration for a career programmer (weeks to a couple months of learning to be more effective for years to come is a no-brainer).

4. is untrue, Haskell has already gained more popularity than the ML languages had in the past. And so is F#.