3 ms·
Not OP but also OCaml user here, I consider Haskell's laziness to be the wrong default and think it makes it harder to reason about programs, and I prefer the '
by Barrin92 9y ago
Not OP but also OCaml user here, I consider Haskell's laziness to be the wrong default and think it makes it harder to reason about programs, and I prefer the 'mostly pure' approach of ML languages to strict purity.
For me OCaml or the ML family hit the sweet spot of language design.
I will agree that the parallelism issue can be a problem.
- gbersac 9y agoThen you should try Idriss. This language is haskell with dependent typing and static by default.
- m-j-fox 9y agoPlease tell me about the parallelism problem? I love that Haskell can auto-parallelize and is very safe. But, I'm ready to kick it to the curb over stupid lazyiness-induced memory explosions. But I'd be sad to go back to having to worry about threads and safety. I'd love to give OCaml a go. Tell me why I'll end up disgruntled.
- xfer 9y agoThere is no parallelism, the runtime doesn't offer any. The best you can do is fork(). But there is an effort ongoing for a few years now, multicore-ocaml, which will be available mainstream when it's Ready(no ETA).