Monday, 9 February 2026

Rust uses C++

Tales of the end of C++ are greatly exaggerated. Rust uses C++ in the shape of LLVM which is built in C++. Sure, the Rust compiler (rustc - which was initially OCaml'd and rewritten in Rust) is mostly Rust with some legacy bits in C++, but the backend (LLVM) used for code generation is C++ code. The standard library has some C bindings too, but that's by the by.

No comments: