8 ms·
> In fact, that enabled automatic tool to convert Go compiler written in Google's C++ to Go. Hmm, I thought go was written in C at first place and not C++. It
by aikah 11y ago
> In fact, that enabled automatic tool to convert Go compiler written in Google's C++ to Go.
Hmm, I thought go was written in C at first place and not C++. It seems to me that Go creators were never big fan of C++ so I don't think it takes any inspiration from C++ .
All I see in some kind of C + garbage collection + interfaces and some concurrency percs. I fail to see how it was influenced by C++ in any ways.
- mbrubeck 11y agoThat's correct, the Go toolchain was originally written in C, and translated from C to Go: https://golang.org/doc/go1.5#c https://golang.org/doc/go1.5#c And of course Go's designers include some of the designers of C (well, its predecessor B) and Limbo, and Go seems influenced more by that tradition than by C++.