2 ms·
In Go you cannot fully control the runtime as a programmer- Go's GC is a complicated periodically run program with sometimes surprising behavior. crt0.o is a v
by cft 9y ago
In Go you cannot fully control the runtime as a programmer- Go's GC is a complicated periodically run program with sometimes surprising behavior.
crt0.o is a very simple set of startup routines with a fixed and predictable behavior. It is typically run only once ("0" in the name is for startup), and has only a couple of assembly instructions.
- pjmlp 9y agoC runtime does much more than that, depending how floating point is supported, language extensions for constructors on execution start, threading runtime introduced in C11.