|
|
|
|
|
by smeg
5185 days ago
|
|
Does anyone know why the Go runtime is written in C? The FAQ says it is to get around bootstrapping, but that does not seem obvious, as the Go compiler (6g) is written in C, so why cant the runtime be written in Go and compiled with the rest of the Go library? Also, is the incompatibility between Go and C just due to the segmented stacks in Go? What about function call conventions? Anything else? |
|