3 ms·
This seems too simplistic. Definitely. I intended it as a reasonably quick comparison of Go and GCCGo, to see if GCCGo warranted further investigation right
by CoffeeDregs 13y ago
This seems too simplistic.
Definitely. I intended it as a reasonably quick comparison of Go and GCCGo, to see if GCCGo warranted further investigation right now. I really like the GCC toolchain so look forward to it supporting Go fully, but, as someone else noted, the Go compiler seems "fast enough".
I often find -O2 produces faster executables)?
Agreed. Probably should have used O2 or Os. I just recompiled with them and didn't see any significant difference.
Anyhow, the post was really about answering the question: should you as a user of (and not developer of) Go check out GCCGo right now? From my perspective, I'm sticking with Go's compiler.
- DannyBee 13y agoJust FYI: Os hasn't been faster than O2 or O3 on desktop computers for many years, except for the apple branch of 4.2. The only reason it was ever faster is because of backend related issues that should be long since solved.