3 ms·
Is it just a matter of waiting for the Go compiler to "level up" optimizations to match GCC/Clang? The compiler currently uses a syntrax tree-based IR that is
by danieldk 11y ago
Is it just a matter of waiting for the Go compiler to "level up" optimizations to match GCC/Clang?
The compiler currently uses a syntrax tree-based IR that is not very easy to optimize. A new SSA backend for the compiler is planned for 1.6:
https://docs.google.com/document/d/1szwabPJJc4J-igUZU4ZKprOrNRNJug2JPD8OYi3i1K0/edit?pli=1#heading=h.ywtmh4qacfis https://docs.google.com/document/d/1szwabPJJc4J-igUZU4ZKprOr...
(This was blocked until the compiler was ported from C to Go.)