4 ms·
Go comes from a different school of compiler design where the code generation is decent in most cases, but struggles with calculations and more specific pattern
by shadowofneptune 4y ago
Go comes from a different school of compiler design where the code generation is decent in most cases, but struggles with calculations and more specific patterns. Delphi is a similar compiler. Looking at benchmarks, the performance is only a few times worse than optimized C. That's on par with the most optimized JITed languages like Java, while being overall a much simpler compiler. I feel it is is fair to say 'good enough' in this situation.