A satirical April Fools pull request proposes adding a C++ backend to the OCaml compiler (ocamlc). The joke hinges on using C++ template metaprogramming as a purely functional runtime for OCaml programs, treating g++ as an 'interpreter' and compiler error messages as output. The PR humorously notes that C++ is 'purely functional with no mutable state', requires -ftemplate-depth=999999 for larger programs, and consumes gigabytes of memory to compute primes. It also jokes about future Rust support pending partial impl specialization.
Sort: