3 ms·
Java has garbage collection and is about two times slower than C
by glibgil 10y ago
Java has garbage collection and is about two times slower than C
- sgt101 10y agoFor 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.
- glibgil 10y agoYou can call the comparison pointless, but it is the answer to the question of why Java is not a systems language
- Chyzwar 10y agoC dont have garbage collection. In some cases Java can outperform C.
- glibgil 10y agoYeah, 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