The Wire · Showcase
COMPILER CLEANUP AND PROXY BEHAVIOR FIXES SHIP ACROSS THE STACK
By RepoJournal · Filed · About Go
Go's compiler gets leaner while net/http fixes a decade-old proxy environment variable ambiguity that's finally caught up with the rest of the ecosystem.
The compiler team landed three precision improvements overnight. First, dead code removal [1] stripped out the unused posetFlagUnsigned machinery from SSA that had been generating noise since last month's cleanup. More critically, the fuse pass now avoids removing control flow edges that carry live phis [2], fixing a subtle correctness bug that other optimization phases hadn't yet triggered but the prove pass exposed. Meanwhile, net/http is aligning with x/net's recently updated proxy behavior [3] [4] by prioritizing lowercase environment variables (http_proxy, https_proxy, no_proxy) when both uppercase and lowercase versions are set. This matches what most HTTP clients have converged on and closes a long-standing compatibility gap. On the parser side, ResolveFile lands as a deprecated migration aid [5], giving users an explicit path to move away from ast.Object-based resolution. Over at pkg.go.dev, the backend is building out module evaluation pages behind the scenes [6] [7], adding publication age tracking and filling out the evaluations template for a soft launch when it's ready.
One email a day. Unsubscribe in one click.
What actually shipped in Go, written up every day — commits, pull requests, releases, and security advisories.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
References
- [1] cmd/compile/internal/ssa: remove unused poset unsigned machinery golang/go
- [2] cmd/compile/internal/ssa: avoid fuse removing edges with live phis golang/go
- [3] net/http: prioritize lowercase proxy environment variables golang/go
- [4] http/httpproxy: prioritize lowercase proxy environment variables golang/net
- [5] go/parser: add func ResolveFile golang/go
- [6] static/frontend/unit/evals: evals template golang/pkgsite
- [7] internal/frontend: publication age golang/pkgsite