6 ms·
M............................................C M..............................................Java Look. C is much closer to how the machine (M) works.
by dpc_pw 7y ago
M............................................C
M..............................................Java
Look. C is much closer to how the machine (M) works.
- snazz 7y agoJava’s GC and lack of pointer arithmetic should push it a little further to the right, no?
- stonemetal12 7y agoI don't see why it would. Given what modern CPUs do to make memory fast and safe, pointer arithmetic is a ridiculous simplification that has no bearing in reality.
- scottLobster 7y agoGive that Java is written in C++ which is in turn an extended version of C, I'm not sure that chart is entirely to scale.
- TomMarius 7y agoThat is no argument in this discussion, IMHO - what does it change? The discussion is about the language (and in case of Java, the runtime) and it's machine abstraction, which is nearly the same for Java and C, even if JVM was written in Lisp.
- deleted 7y ago[deleted]
- toolslive 7y ago> Java is written in C++. I think you're talking about the JVM. Anyway, some processors have native support: https://en.wikipedia.org/wiki/Jazelle https://en.wikipedia.org/wiki/Jazelle
- saagarjha 7y agoJazelle is very dead, FWIW.