Could someone, kindly, explain how future versions would be built? Thanks!
Could someone, kindly, explain how future versions would be built? Thanks!
So to answer your question, this new Go-written-in-Go compiler will initially be compiled by the Go-written-in-C compiler. The output from that will be an executable Go-written-in-Go compiler, and _that_ will be used to compile itself in the future. I.e. Go compiler version 1.4 will be used to compile Go version 1.5 will be used to compile Go version 1.6...
Keep in mind that this is not at all unusual. The C compiler GCC has been compiled using older versions of GCC for a long time. Having a compiler compile itself is a sort of milestone that many languages aspire to as a way of showing that the language is "ready."
[1] https://en.wikipedia.org/wiki/Self-hosting
[2] http://blog.llvm.org/2010/02/clang-successfully-self-hosts.h...