News for hackers. Stuff that matters.
Re:Go 1.22 Inlining Overhaul by tgv on Thursday July 27, 2023 @05:50AM (#36891205)
Not bad, but build should default to release, and dev builds should be opt-in. You should never accidentally test against a non-production build.
Re:Go 1.22 Inlining Overhaul by packetlost on Thursday July 27, 2023 @10:34AM (#36894226)
It's a tough problem, because the situations in which fast build times matter are mostly during local development and test. Only at really insane scales do they become a problem for production releasing and CI/automated testing. An environment variable that can be set on a dev workstation globally (and overridden with CLI flags) would probably be sufficient for opt-in