r/programming • u/DanielRosenwasser • Jul 08 '26
Announcing TypeScript 7.0
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
468
Upvotes
r/programming • u/DanielRosenwasser • Jul 08 '26
View all comments
Show parent comment
3
u/vplatt Jul 12 '26
I think we're talking past each other because we're answering different questions.
My point was never that Go outperforms every VM language or that a runtime is somehow "bad." My point was simply that "Go isn't native because it has a runtime" is not a technically accurate statement.
Again: a native executable is one whose deployed artifact is machine code executed directly by the CPU. A VM-based executable is one whose deployed artifact is source or bytecode executed by a virtual machine (whether interpreted, JIT-compiled, or both).
By that definition:
C, C++, Rust, Zig, and Go are native. Java, C#, Python, and JavaScript are VM-based.
Go's runtime is a linked library providing services such as GC, scheduling, and stack management. It is not an execution engine for Go bytecode because Go doesn't deploy bytecode.
Whether Java's HotSpot or V8 can outperform Go on particular workloads is an entirely separate discussion. VM languages can absolutely beat Go in some cases due to sophisticated JIT optimization. That doesn't change the execution model or make Go "not native."
So I'm not arguing that "native" implies "faster" or "better." I'm arguing that "native" describes how the program is deployed and executed, not whether it happens to include a runtime library.
I don't mind technical disagreement, but your replies have become increasingly dismissive and insulting. Calling my arguments "cargo culting," "captain obvious," and "a master class" isn't advancing the discussion, so "congratulations!" back to you because you've now have a textbook example of how to fail at having a technical discussion. Replacing the terms of a technical discussion with insults is a clear type mismatch, but I'm not a compiler with infinite patience so consider this bridge burned.
::plonk::