Could Go be a better C? I think so!
Meet Solod — a strict subset of Go that translates to C, without hidden memory allocations and with source-level interop.
The goroutine leak detector will become generally available in Go 1.27.
But did you know you can also use synctest (Go 1.25+) to catch goroutine leaks in tests?
See how the two approaches compare:
For a systems programming language, it's important to have a decent freestanding mode — not just at the language level, but in the standard library as well.
In Solod (a subset of Go that translates to C) most stdlib packages are available as freestanding, ranging from bytes and
Running the full Solod stdlib test suite takes 5 seconds (Clang on macOS).
It's not as fast as a Go test suite of roughly the same size, but it's still fast enough to provide useful feedback while making changes.
Enabling the address and undefined-behavior sanitizers increases