The Go compiler needs to be smarter
lemire.me
lemire.me
In my experience, go's high compilation speed compared to C++ is a great help to development, and I would gladly give away complicated optimisations for this enhancement. For high-throughput programs, time spent on manual optimisation or architectural work has a much higher payout than the marginal improvements of optimising compilers, when considering the continuous cost of slow compilation.