A new C++ back end for ocamlc

https://github.com/ocaml/ocaml/pull/14701

C++ support by stedolan · Pull Request #14701 · ocaml/ocaml

This patch adds a new C++ backend to ocamlc, improving on the unincremented C currently in use by the runtime and FFI. As an example, here's a simple program that computes the prime numbers up ...

GitHub
This is a really interesting direction for OCaml. A formal C++ backend could significantly simplify embedding OCaml into existing C++ codebases, especially where linking against the standard OCaml runtime might be tricky. I wonder how the performance compares to the existing native backend in long-running processes.
Per TFA C++ is a purely functional, interpreted language. Should be trivial to embed into?