Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




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++.


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

I believe they're talking about runtimes, not compilers.

No, it is still LLVM.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: