Decision Workspace
luna-jit vs luna-core vs luna-jit-helpers
Side-by-side comparison of Rust crates
A Lua runtime in pure Rust — full 5.1/5.2/5.3/5.4/5.5 support. Equivalent to `luna-core` plus a Cranelift-backed JIT (method + trace) and the lua.h-compatible C ABI. (The `luna` crate name on crates.io is taken by an unrelated utility library; this crate is the JIT-equipped variant of the goliajp/luna Lua runtime.)
Pure-Rust Lua runtime (interpreter only, zero third-party dependencies). The JIT-equipped variant lives in the `luna-jit` crate.
Shared `luna_jit_*` extern-C runtime helpers + per-thread JIT_VM/JIT_CL TLS slots + `enter_jit` RAII rebind for the goliajp/luna Lua runtime. Used by both `luna-jit` (Cranelift backend) and `luna-jit-llvm` (LLVM alt backend) so the helper symbol table and TLS discipline stay single-source-of-truth across JIT backends. Internal infrastructure crate — embedders should depend on `luna-jit`, not this crate directly.
Core Metrics
| luna-jit | luna-core | luna-jit-helpers | |
|---|---|---|---|
| Health Score | 56 | 60 | 59 |
| Total Downloads | 460 | 2.9K | 486 |
| 30d Downloads | 0 | 2.6K | 0 |
| Dependents | 34 | 166 | 32 |
| Releases | 18 | 18 | 16 |
| Last Updated | 8d ago | 8d ago | 8d ago |
| Age | 20d | 20d | 15d |
Health Breakdown
Technical Details
| luna-jit | luna-core | luna-jit-helpers | |
|---|---|---|---|
| Version | 2.16.0 | 2.16.0 | 2.16.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 12 | 1 | 1 |
| Crate Size | 354KB | 1.8MB | 19KB |
| Features | 3 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.86 | 1.86 | 1.86 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •luna-core leads with a health score of 60/100, but none of the options score above 80.
- •luna-core is depended on by 166 crates — strongest ecosystem trust.