Skip to content

Comment on Part 2 Dart vs Go vs Python (and PyPy) Performance

Comments

Can anyone talk about the state of the compiler in Go? How good/bad is the optimizer? That's not something you usually address early in language design.

Go's gc compiler is relatively young and makes few optimizations (the compiled code still performs well - this particular benchmark compares Go's unoptimized json package with a mature C library). The gccgo compiler can take advantage of all gcc's code generation optimizations, and it's performance reflects this.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.