9 ms·
Then you can sure list some differences between go's and JVM's runtime.
by kaba0 4y ago
Then you can sure list some differences between go's and JVM's runtime.
- cygx 4y agoMost relevant in context of our discussion: The JVM is a (virtual) stack machine with its own instruction set and semantics specified in the Java Virtual Machine Specification. As far as I'm aware, something equivalent does not exist for Go, or as an internal implementation detail at best (some intermediate representation might potentially qualify if you squint at it the right way).
- kaba0 4y agoThat's also an implementation detail, because the majority of execution time happens in native code with a native GC "managing it" the exact same way, not by interpreting abstract virtual machine instructions.
- cygx 4y agoIt's not an implementation detail, the interface is mandatory and public (Java bytecode).