Decision Workspace
unpopped-slang vs unpopped-cpu-c vs unpopped
Side-by-side comparison of Rust crates
The Slang compute-shader emitter for Unpopped, and the first idiomatically non-C-family one: HLSL overloaded intrinsics rather than C's suffixed math functions, `StructuredBuffer` operands, and a `[numthreads]` entry. It exists as much to shake C-shaped assumptions out of the neutral seam as to serve Slang — a backend that cannot reuse the C spellers is what proves the seam is a seam.
The portable-C99 reference emitter for Unpopped: lowers a neutral `KernelPlan` to C source that compiles on any C compiler, with no vendor intrinsic, no conditional compilation, and no device. Ships the software codecs the narrow dtypes need (FP8 E4M3/E5M2, sub-byte i4/u4/b1, and a struct complex ABI), so `f8e4m3fn` and `c128` lower without naming anyone's toolchain. This is the normative reference emitter a new target is read against, and the one every differential test runs through.
A vendor-neutral kernel generator: the backend-agnostic IR, plan, transform pipeline, contracts and dispatch artifacts, plus the `Backend` and `Compiler` traits a target implements. Ships a portable-C99 reference backend and a CPU oracle, so it builds and self-tests with no device, no driver, and no vendor dependency. Device backends live under their own vendor identity and depend on this crate — the CUDA emitter, its NVRTC compiler and the Fuel synthesizer live in `baracuda-cuda-emit`. Pre-1.0 and moving; pin exact versions.
Core Metrics
| unpopped-slang | unpopped-cpu-c | unpopped | |
|---|---|---|---|
| Health Score | 51 | 50 | 49 |
| Total Downloads | 364 | 400 | 749 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 3 | 38 |
| Releases | 14 | 17 | 24 |
| Last Updated | 1d ago | 1d ago | 1d ago |
| Age | 1m | 1m | 2m |
Health Breakdown
Technical Details
| unpopped-slang | unpopped-cpu-c | unpopped | |
|---|---|---|---|
| Version | 0.14.4 | 0.14.4 | 0.14.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 3 | 10 |
| Crate Size | 22KB | 63KB | 693KB |
| Features | 1 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •unpopped-slang leads with a health score of 51/100, but none of the options score above 80.
- •unpopped has the most downloads (749), suggesting wider adoption.