How does the JVM work considering computer organization?
问题 I thought I've always understood why Java was portable, until I took Computer Organization. This is my interpretation of a C program from start to finish: C program --> compiler --> assembly --> machine code --> ISA --> micro architecture (how the computer interprets ISA) --> logic gate --> circuit --> device Where the compiler must have knowledge of the ISA. Also, the assembly and machine code will vary based on ISA. Java is as such: (inside JVM): Java program --> compiler --> bytecode