3 ms·
> they have runtimes Go has as much a runtime as C or C++ [0]. [0]: http://en.wikipedia.org/wiki/Crt0 http://en.wikipedia.org/wiki/Crt0
by lloeki 12y ago
> they have runtimes
Go has as much a runtime as C or C++ [0].
[0]: http://en.wikipedia.org/wiki/Crt0 http://en.wikipedia.org/wiki/Crt0
- yoklov 12y agoMy understanding is you typically bootstrap the runtime for C/C++ when you write an OS. This is a significantly larger task for Go, to the point where I'd say it's probably infeasible (Is it possible to write the Go runtime in Go? Even the GC?).
- dbaupp 12y agoI don't think that's really true? Certainly Go has a much weighter runtime than those. Neither C nor C++ implicitly insert context switches into the runtime into the generated code, nor do they have garbage collectors that scan the processes memory.