3 ms·
> No VM, no interpreter That's not quite accurate; there is a runtime, it just gets statically linked into the binary instead of needing to be externally insta
by saghm 5y ago
> No VM, no interpreter
That's not quite accurate; there is a runtime, it just gets statically linked into the binary instead of needing to be externally installed
- throwaway894345 5y agoNo, Go literally doesn't have a VM or an interpreter. VMs and interpreters are runtimes, but not all runtimes are VMs or interpreters. Go executes native code.
- eternalban 5y agoAny language that performs work not directly specified by the user has a runtime. Go's runtime is minimal and concerned with two important aspects of the language: scheduler, and garbage collection.
- throwaway894345 5y agoYes, I understand. I was responding to someone who was arguing that it was inaccurate to say that Go lacked a VM or interpreter. Yes, Go has a runtime, but that doesn't imply that it has a VM or interpreter (it doesn't).