There’ll more opportunities for more optimizations since they move to SSA ir since 1.5 and in turn compile time will definitely go down
On one hand it makes you wonder how much could be squeezed out of Go and how many basic things they're still leaving out of the compiler. On the other it tells part of the story of why Go compiles fast with the backdrop that despite this lack of work by the compiler people use Go productively all day and deliver services they are happy with from a performance perspective.
[0] - https://go.dev/doc/go1.17#compiler (2021-08)
Structs instead of objects, value types, exposed pointers, straightforward allocation semantics.
Do these machine-optimized constructs impede productivity? Yes, but by maybe 20%, whereas the performance gain is 80%.
Linters and IDEs get slow when they check for errors, tests run slow, feedback drags, and all your workflows that took advantage of Go's fast compile times are now long enough that your flow and mental context disappear.
I guess you just need to compile the .a once and then just reuse it?
If you're rebuilding it every single time, your build is set up wrong.
https://datastation.multiprocess.io/blog/2022-05-12-sqlite-i...