3 ms·
Java's implemented largely in C++. Does that make Java just a C++ framework?
by ketralnis 7y ago
Java's implemented largely in C++. Does that make Java just a C++ framework?
- coldacid 7y agoI'm pretty sure it's largely classic C, /not/ C++.
- abecedarius 7y agoIt was C++ at least in the 90s when I interviewed for the JVM compiler team.
- nickpsecurity 7y agohttps://stackoverflow.com/questions/10028057/what-programming-language-is-used-to-develop-java https://stackoverflow.com/questions/10028057/what-programmin...
- ketralnis 7y agoI'm pretty sure that's 100% immaterial to the argument but from 8 seconds on Google, here: https://github.com/openjdk/jdk https://github.com/openjdk/jdk C++: 13.9% C: 5.4% Or here: https://en.wikipedia.org/wiki/HotSpot https://en.wikipedia.org/wiki/HotSpot "Written in C++, Assembly" Or here: https://blogs.oracle.com/sundararajan/so-you-want-to-read-hotspot-source https://blogs.oracle.com/sundararajan/so-you-want-to-read-ho... I should have said Perl to really bring out the pedants.
- pjmlp 7y ago13.9% is hardly a big surface and I bet those C values come from C++ header files. Also OpenJDK is just one implementation among several.
- deleted 7y ago[deleted]
- pjmlp 7y agoWhat Java implementation? OpenJDK is a mix of Java and C++, with long term roadmap to replace more and more with Java, also known as Project Metropolis. IBM J9 is a mix of C++ and Java. JikesRVM is bootstraped in Java. Then there are PTC, Aicas, Websphere RealTime, J/Rockit, Azul (with LLVM integration), GraalVM (mostly Java), Ricoh JVM, Cisco JVM, Gemalto,...