2 ms·
Go is self-hosting (i.e. Google's Go compiler is written in Go and is able to compile itself). I would assume that includes the garbage collector.
by yellowapple 7y ago
Go is self-hosting (i.e. Google's Go compiler is written in Go and is able to compile itself). I would assume that includes the garbage collector.
- Ericson2314 7y agoNope it does not. Writing the compiler self hosting has nothing to do with writing the run time system.
- yellowapple 7y agohttps://github.com/golang/go/tree/master/src/runtime https://github.com/golang/go/tree/master/src/runtime There's some assembly in there, but it seems to be mostly Go.