Hacker News new | ask | show | jobs
by apta 2472 days ago
> it's still much slower than the Go compiler toolchain

The kinds of optimizations LLVM does is way beyond anything golang does. Golang doesn't even optimize passing function parameters in registers, let alone the advanced optimization techniques LLVM and GCC do.

1 comments

I think the parent is talking about compilation speed not runtime speed.
Optimizations affect compilation speed. golang barely does any optimizations, so it compiles quicker.