3 ms·
Ocaml is still making you fork to multiprocess. I agree that the docs + stdlib aren't great. But the performance is very good, and the type checker is awesome
by jongraehl 17y ago
Ocaml is still making you fork to multiprocess.
I agree that the docs + stdlib aren't great.
But the performance is very good, and the type checker is awesome. I like it (in my experience on toy problems).
You mentioned performance vs. usability - Not_found is vague for a reason; it's the way you find out if a key is in a hashtable (no null or Maybe return). Exceptions without payload are apparently very efficient in Ocaml; they're used often in "non-exceptional" cases in the library.
- silentbicycle 17y agoI understand why they do it, but I don't like speed over usability as a default. I would rather be able to tighten up the execution via a few declarations, compiler options, etc., if necessary, but have the default be maximum flexibility, detail for debugging, etc. I like the typechecker mostly because it's easy to use a few type annotations to do things that would otherwise require loads of unit tests. My rule of thumb these days is, "Python is fast enough, without proof otherwise."