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

> Using these more sophisticated data structures, g++ is able to compute the prime numbers below 10000 in only 8 seconds, using a modest 3.1 GiB of memory.

Finally, I can get some primes on my laptop!