News for hackers. Stuff that matters.
Re:Go 1.3+ Compiler Overhaul by rsc on Wednesday December 18, 2013 @11:52PM (#6932963)
That's an interesting causality. It implies that in 1990 when Ken started writing the compiler he knew it was going to be converted to Go. I doubt it.

The more likely explanation is that the same people wrote the compiler in C and designed Go. The subset of C they found most useful is the one they used in the compiler and the same one whose semantics ended up in Go.

Re:Go 1.3+ Compiler Overhaul by EdiX on Thursday December 19, 2013 @04:39AM (#6933689)
Plan 9's userspace was originally written mostly in Alef, a predecessor of Go, then translated to C. I wonder if the original version of the C toolchain was in Alef, too. Unfortunately I don't think there is a easy way to check.
Re:Go 1.3+ Compiler Overhaul by rsc on Thursday December 19, 2013 @11:49AM (#6935797)
Not true. Plan 9's user space was written in C. Alef came later and was used for only a few programs. The bulk were still in C, including the compiler toolchain. The Alef compiler was written in C too, never in Alef.

In the second edition Plan 9 release, the last one with Alef, these programs were written in Alef: acme, aux/consolefs, aux/depend, httpd, md5sum, page (document viewer), postscript/tcpostio (driver for lp), and ppp.

Re:Go 1.3+ Compiler Overhaul by howeman on Thursday December 19, 2013 @11:00AM (#6935403)
I think he was suggesting that you wrote the compiler to use only the parts of C that could be converted to go, not that C was written to be convertible to go.
Re:Go 1.3+ Compiler Overhaul by rsc on Thursday December 19, 2013 @11:43AM (#6935733)
Yes, and my point is that parts of the compiler date back to 1990.