3 ms·
There's an OCaml LLVM backend [1]. The author found a number of issues with LLVM [2] although this could be overcome. The real problem is that the low-level o
by rwmj 13y ago
There's an OCaml LLVM backend [1]. The author found a number of issues with LLVM [2] although this could be overcome. The real problem is that the low-level object format is completely different which would break all OCaml extensions written in C (eg. any extension that links to an external C library). Plus the current code generators are really fast and cover all common architectures anyway so there's not much point.
[1] https://github.com/colinbenner/ocamlllvm https://github.com/colinbenner/ocamlllvm
[2] http://oud.ocaml.org/2012/abstracts/oud2012-paper7.pdf http://oud.ocaml.org/2012/abstracts/oud2012-paper7.pdf