solod/doc/spec.md at main · solod-dev/solod
Solod (So) is a strict subset of Go that translates to regular C — with zero runtime, manual memory management, and source-level interop.
- 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.
- Everything is stack-allocated by default. Heap is opt-in through the standard library.
- 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
Go’s simplicity, fast compilation, and mature ecosystem make it an appealing compilation target for new languages. This is a list of languages that, in one way or another, compile down to Go assembly.
No comments:
Post a Comment