3 ms·
I mean, the original post was about programming languages, but The JVM is a virtual machine. It does not have "classes" in the programming sense because it tak
by Asraelite 4y ago
I mean, the original post was about programming languages, but The JVM is a virtual machine. It does not have "classes" in the programming sense because it takes bytecode, not source code. A bytecode class isn't the same as a source code class. It would be like saying that x86 has if statements because it has branch instructions.
I interpreted the comment to mean "JVM languages" but if you wanna discuss the JVM itself (which is nonsensical comparison here imo) then yeah sure, it needs "classes".
- pvg 4y agoYou don't have to get all talmudic about it, you can just open the JVM spec to almost any page. https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5.invokevirtual https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.ht... The semantics of Java classes 'in the programming sense' are largely specified and implemented in the JVM.