Porting the Go compiler to Go

The Go compiler was originally written in C because 1) Go didn’t exist, 2) Go was unstable, and 3) Go was originally intended for writing network/systems code and not for compilers. But now 1) Go exists, 2) Go is stable as of Go 1.x, and 3) Go has turned out to be a nice general purpose language and the compiler won’t be an outsize influence on the language design.

The Sourcegraph site has a writeup of Russ Cox's talk on the task of porting the Go compiler from C to Go. "" The hope is to have the compiler written in Go for the 1.4 release. Log in to post comments)