3 ms·
Because I really like OCaml, its very easy to talk to C code with it. Hmm, for me OCaml provides 1) Type safety 2) Native code speed 3) No C style memory iss
by e_d_g_a_r 11y ago
Because I really like OCaml, its very easy to talk to C code with it. Hmm, for me OCaml provides
1) Type safety
2) Native code speed
3) No C style memory issues, its a garbage collected language
4) You can compile OCaml code as a C library, then call it from C. OCaml in general has great C/Objective-C/C++ interoperability.
5) Predictable performance, no head scratchers.
6) Functional programming if I want to do that.
- hellofunk 11y agoIn your point 4) I assume you are referring to this tool? https://github.com/ocaml-bytes/ocamlcc https://github.com/ocaml-bytes/ocamlcc