4 ms·
I haven't used OCaml in a couple of years. has the stdlib story been improved/standardized? is there still the whole async vs jwt problem or did jwt finally win
by devmunchies 7y ago
I haven't used OCaml in a couple of years. has the stdlib story been improved/standardized? is there still the whole async vs jwt problem or did jwt finally win out?
I think i remember that there wasn't a good web framework, and that the existing popular one had a memory leak.
I was learning from a book (Real World OCaml, i think) and it kept pushing jane street libs like Async and Core.
- LeonidasXIV 7y agoMost of the issues go away if you use Async and Core (or Base these days) since it is a very good and rather complete standard library and a thoughful Async implementation. The issue with the web framework still stands. Not many people do web development in OCaml so the support is rather sparse.
- abhijat 7y agoDo you mean LWT?
- devmunchies 7y agoAh. Yes.
- ode 7y agoThere may not be that many people doing web development in OCaml directly (Reason ML may be changing this) but it is do-able. Read 'A Lightweight OCaml Webapp Tutorial' - https://shonfeder.gitlab.io/ocaml_webapp/ https://shonfeder.gitlab.io/ocaml_webapp/ for a up to date example of an OCaml web stack. Reason uses the OCaml to Javascript compiler Bucklescript to make OCaml more accessible for web programming. Listen to the podcast 'Reason Town' - https://player.fm/series/reason-town https://player.fm/series/reason-town to hear professionals talking about their experience with it.
- ldeangelis 7y agoYaron Minsky is one of the author of Real World OCaml, and is the one that brought OCaml to Jane Street so that may be why there's pushing these libs.