Solod – A Subset of Go That Translates to C (github.com)
Solod (So) is a strict subset of Go that transpiles to readable C11, aiming for systems programming with no built-in runtime or garbage collection. It generates C code with stack allocation by default and provides opt-in heap allocation via its standard library, along with direct C interoperability without CGO overhead. The project currently supports a limited set of language features (e.g., structs, methods, interfaces, slices, multiple returns, defer) and avoids channels, goroutines, closures, and generics, with a roadmap that includes expanding the standard library and adding more Go features.
April 07, 2026 01:59
Source: Hacker News