Decision Workspace
luna-jit-llvm vs luna-core vs luna-jit-helpers
Side-by-side comparison of Rust crates
LLVM 18 + inkwell 0.9 alternative JIT backend for the goliajp/luna Lua runtime. Lives alongside `luna-jit` (Cranelift); backend selection at runtime via the `LUNA_JIT_BACKEND=llvm` env var. Internal alt-backend crate — embedders should depend on `luna-jit` and enable the `llvm-jit` feature, not depend on this crate directly. Requires `LLVM_SYS_181_PREFIX` pointing at an LLVM 18.1.x install at build time.
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-llvm | luna-core | luna-jit-helpers | |
|---|---|---|---|
| Health Score | 58 | 60 | 59 |
| Total Downloads | 282 | 2.9K | 486 |
| 30d Downloads | 0 | 2.6K | 0 |
| Dependents | 16 | 166 | 32 |
| Releases | 16 | 18 | 16 |
| Last Updated | 8d ago | 8d ago | 8d ago |
| Age | 15d | 20d | 15d |
Health Breakdown
Technical Details
| luna-jit-llvm | 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 | 3 | 1 | 1 |
| Crate Size | 46KB | 1.8MB | 19KB |
| Features | 0 | 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.