salsa-rs/salsa
A generic framework for on-demand, incrementalized computation. Inspired by adapton, glimmer, and rustc's query system. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2896
- days_rel: 30
- days_push: 12
- n_releases_24m: 60
Adoption not part of the score
2948 stars · 221 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Salsa is a Rust framework for on-demand, incrementalized computation, where programs are defined as memoized queries over inputs. It intelligently reuses cached results when inputs change, based on techniques from rustc's query system.
Use cases
- build an incremental compiler in Rust
- memoize expensive computations that depend on changing inputs
- recompute only what changed when inputs are updated
- implement a query-based analysis pipeline
- build IDE-like tooling with fast reactive updates
- cache derived values in a reactive dataflow graph
When to choose
- you are writing a compiler, linter, or language tooling in Rust that must respond to edits incrementally
- you need fine-grained memoization with automatic invalidation of derived values
- you want a proven design derived from rustc's query system
When to avoid
- your computation is a one-shot batch job with no changing inputs
- you need incremental computation outside Rust
- you want a simple cache without dependency tracking overhead
Facets
library · maturity active
compiler caching concurrency developer-tools compilers developer-tools performance rust cross-platform incremental-computation memoization query-system reactive rust-library
3 sources
- readme: https://github.com/salsa-rs/salsa · fetched 2026-08-28 · 50c7e890c43b
- homepage: https://salsa-rs.netlify.app/ · fetched 2026-08-29 · cc8a47d7ffa5
- registry_crates: https://crates.io/api/v1/crates/salsa · fetched 2026-08-29 · 21775ea7073c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| salsa-rs/salsa | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem