Hacker News new | ask | show | jobs
by glibgil 3695 days ago
Java has garbage collection and is about two times slower than C
2 comments

For good C, which is hard to write - for me and other mortal humans.

On the other hand, as a mortal, I can write a-grade-above-code-that-an-idiot-would-write-just code in Java at about 10 times the speed I can write dire-useless-risible C code.

The comparison is pointless though, good modern languages like Rust and Julia are developing and LLVM is enabling further development.

You can call the comparison pointless, but it is the answer to the question of why Java is not a systems language
C dont have garbage collection. In some cases Java can outperform C.
Yeah, that's what I said. C doesn't have gc so it is a systems language. Java has gc so it is not a systems language