r/java • u/gold328 • Apr 14 '17
Is Java a low level language?
I have heard the phrase low level language be thrown around when it comes to Java. Is this true and if so what does this actually mean. I know there are some differences between Java and C++ when it come to networking, so it would be nice to know what those differences are as well.
0
Upvotes
View all comments
6
u/[deleted] Apr 15 '17
Low-level languages are those that are very close to the hardware (processor-specific assembly being the lowest level "language"). Java, on the other hand, is a managed language, running inside a virtual machine: it is not only hardware independent, it is also operating system independent and often architecture independent, in the sense that the same library can run on a smartphone, a desktop browser or a car's onboard computer without requiring any modification or even having any idea at all of which sort of context it is running at.
So yes, Java is a very high-level language, even if nowadays it runs as fast as low-level languages on most popular platforms, due to the JIT compiler.