Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
vane112843yno machine code in java so no storage, compiler compiles java code to opcodes, translates your java files to class files and pack them together to zip called jar and interpreter called jvm or whatsoever just loads zip file to ram and jumps over those files inside
jvm on the other hand is machine code and it’s also loaded to ram and it’s code is processed by cpu that have it’s own cache to jump over machine code and predict the next cpu instructions to provide us with meltdown and spectre bugs so governments can see what you do in your room in the dark -
Java source code -> jvm bytecode -> class files -> packed as jar, etc -> interpeted by JVM.
Related Rants
I am working on a java project and I want to know where are compilers and interpreter stores machine code? According to this post https://interviewbit.com/blog/... Compilers store machine code in the disk storage but not an idea about the interpreter. Any suggestion
question
interpreter
compiler
code