3 ms·
The go compiler is based on the plan9 c compiler, not gcc. I'm not quite sure what the story is with gccgo (who initiated it, why) - but i think it was for inte
by e12e 12y ago
The go compiler is based on the plan9 c compiler, not gcc. I'm not quite sure what the story is with gccgo (who initiated it, why) - but i think it was for interfacing with c on non-plan9 architectures, and not really about leveraging gcc optimizations.
- astrange 12y agogccgo was written by a gcc developer for the purpose of trying out new ways to write a frontend, but also to use all the various things gcc has. https://blog.golang.org/gccgo-in-gcc-471 https://blog.golang.org/gccgo-in-gcc-471 The Go developers have claimed LLVM was not useful because it's too slow, which is why they used the plan9 compiler style.