# solod-dev/solod

A subset of Go that translates to C

Repository: https://github.com/solod-dev/solod
Canonical: https://ross.abutalabs.com/products/solod
Homepage: https://solod.dev
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: c, go, language, transpiler
Last push: 2026-08-31T04:36:13+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 83, longevity 12
- inputs: {"age_days": 178, "days_push": 2, "days_rel": 39, "gap_med": 39.5, "n_releases_24m": 3}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1143, forks 24 (observed 2026-09-01T02:14:07.461513+00:00)

## What it is
Solod (So) is a strict subset of Go that transpiles to readable C11 code with zero runtime, no garbage collection, and native C interop. It ships a standard library ported from Go's stdlib, including concurrency primitives, while keeping everything stack-allocated by default.

## Use cases
- write systems-level code in Go and compile to C
- transpile Go source to readable C11
- use Go syntax and tooling for embedded or C projects
- call C code from Go-like code without CGO
- avoid garbage collection while keeping Go ergonomics
- generate C libraries from Go code

## When to choose
- you know Go and need C-level control or output
- you want Go's safety and tooling in a C codebase
- you need zero-runtime, no-GC compilation to C
- you want bidirectional C interop without CGO

## When to avoid
- you need full Go, goroutines, or the complete Go runtime
- you need production-grade stability today
- you rely heavily on generics or Go's built-in concurrency
- you need a GC or automatic memory management

## Facets
- artifact type: cli-tool
- maturity: experimental
- function: compiler, programming-language, developer-tools
- domain: programming-languages, compilers, developer-tools
- platform: windows, cli, cross-platform
- tags: transpiler, go-subset, c11, zero-runtime, c-interop, systems-programming, linux, macos

## Member repositories
- solod-dev/solod (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:07.461513+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:39:35.725403+00:00, confidence not recorded.
  - readme: https://github.com/solod-dev/solod (fetched 2026-09-01T02:14:07.461513+00:00, sha e3458be5ed03)
  - homepage: https://solod.dev (fetched 2026-08-29T12:43:54.154521+00:00, sha 019b8695d952)
- Data as of 2026-08-30T08:39:29.467469+00:00.
