Skip to content
Tech News
← Back to articles

Solod: Go can be a better C

read original more articles
Why This Matters

Solod (So) bridges the gap between Go and C by translating Go code into readable C11, offering developers a powerful tool for systems-level programming with familiar tooling and minimal runtime overhead. This innovation enables seamless interoperability and control, making it a significant development for both the Go and C communities. As So evolves, it could reshape how developers approach performance-critical and low-level system tasks.

Key Takeaways

So lod: Go can be a better C

Solod (So) is a strict subset of Go that translates to regular C.

Highlights

Go in, C out. You write regular Go code and get readable C11 as output.

Zero runtime. No garbage collection, no reference counting, no hidden allocations.

Rich standard library. Use familiar types and functions ported from Go's stdlib.

Native C interop. Call C from So and So from C — no CGO, no overhead.

Go tooling works out of the box. Syntax highlighting, LSP, linting and "go test".

So supports structs, methods, interfaces, slices, maps, multiple returns, and defer. Everything is stack-allocated by default; heap is opt-in through the standard library. There is limited support for generics, and concurrency is provided by the standard library instead of being built into the language.

So is for Go developers who want systems-level control without learning a new language. And for C programmers who like Go's safety, structure, and tooling.

... continue reading