logoalt Hacker News

kgeisttoday at 3:01 AM2 repliesview on HN

If we take the most popular programming languages and look at what their reference (or most popular) implementations are written in, then we get:

  C++: JavaScript (V8), Java, C#

  C: Python, PHP, Lua, Ruby

  Self-hosted: Go, Rust
Far from archaic indeed. We're still living in the C/C++ world.

Replies

pjmlptoday at 10:47 AM

Java and C# compilers are selfhosted.

Then depending on which JVM implementation we are talking about the actual JVM runtime can be Java, C, or C++, or a mix of them.

Modern C compilers are written in C++.

Rust uses LLVM, written in C++.

tmtvltoday at 3:25 AM

I thought Rust still used LLVM (a C++ project) for the backend, did they already switch to Cranelift?

show 1 reply