News for hackers. Stuff that matters.
Re:Introduction to Go 1.1 by onan_barbarian on Tuesday March 26, 2013 @08:16PM (#5446929)
Go's compiler toolchain is not "very young". Go's compiler toolchain is derived from the Plan 9 C compiler and is a decade older than modern gcc (4.x), which has substantially rewritten its optimization framework relatively recently with "GENERIC" and "GIMPLE". There are no equivalent changes in the go backend.

The reason the code quality (in optimization terms) of Go's compiler isn't that great is that the Plan 9 C compiler was always designed for fast compiles. This is a matter of design.

Re:Introduction to Go 1.1 by Scaevolus on Wednesday March 27, 2013 @02:51AM (#5448185)
The Go compiler converts its AST to assembly directly. There's a peephole optimizer and certain AST patterns are specially handled, but overall the compiler is extremely simple.

By comparison, LLVM/GCC passes code through multiple internal representations and performs many complex optimizations on them before emitting assembly.