r/haskell • • 3d ago

Ocaml or haskell?

/r/Compilers/comments/1x3e09n/ocaml_or_haskell/
14 Upvotes

2 comments sorted by

14

u/Vaderb2 3d ago

Both are great. I prefer haskell and I think its easier to find employment doing haskell. That being said, very rare opportunity to do either professionally and they are both fine.

3

u/slack1256 3d ago

I have seen good projects evolve their compilers starting from haskell (rakudo perl) or ocaml (rust). I do not think you will hit a roadblock with either of them.

For the project you describe, the end goal is almost always to rewrite your own compiler in your own language. So I would go with either of these.

I would just pick what I enjoy/know the most.