2 ms·
I found the comment about the speed of the Go compiler... surprising. Fast compile times has always been an important objective for compiled languages, and whil
by cbsmith 4y ago
I found the comment about the speed of the Go compiler... surprising. Fast compile times has always been an important objective for compiled languages, and while Go has a reputation for fast compiler times, in my experience, the Go compiler's performance doesn't seem particularly impressive. Indeed, for a lot of code bases, C, D, even dirty old Pascal compilers, and for a lot of code bases (as in ones, not heavily using template foo), even C++ compilers compile as fast if not faster than Go when you disengage the optimizer. Aside from compiling C++/Rust/Ada/Haskell programs laden with tons of templates/generics/type-foo, I can't think of a compiler that seemed perceptibly "slower" than Go. Now, Go's optimizer is surprisingly quick, but then, the binaries it produces aren't particularly optimized.