2 ms·
I agree that the Go compiler doesn't optimize as aggressively, but it's not that simple. I've heard of a rewrite of some legacy code from C++ to Go making the c
by skybrian 8y ago
I agree that the Go compiler doesn't optimize as aggressively, but it's not that simple. I've heard of a rewrite of some legacy code from C++ to Go making the code go faster.
A rewrite often includes a redesign, which can make more of a difference than compiler optimizations.
If they ported back to C++ again, it would probably be faster still. But there are also maintenance concerns to think about.