Solod (So) is a new programming language that is a strict subset of Go and transpiles to readable C11 code. It features zero runtime overhead, no garbage collection, stack-allocated memory by default with opt-in heap allocation, and native C interop without CGO. So supports structs, methods, interfaces, slices, multiple returns, defer, and enums, while omitting goroutines, channels, closures, and generics. Since So is valid Go code, existing Go tooling (LSP, linting, go test) works out of the box. The post provides a comprehensive language tour showing side-by-side Go and generated C code for all supported features, along with design decisions emphasizing simplicity, readability of generated C, and seamless C interoperability.
Sort: