Decision Workspace
luna-aot vs luna-core vs luna-jit-helpers
Side-by-side comparison of Rust crates
Ahead-of-time compiler from Lua source to a self-contained native binary, built on luna-core's VM: the program is embedded as luna bytecode and the hot traces of a warmup run are compiled to machine code, all linked into one binary. A build-time tool, not a runtime dependency of the produced binary; embedders that want a runtime JIT use `luna-jit`, and pure interpretation `luna-core`.
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-aot | luna-core | luna-jit-helpers | |
|---|---|---|---|
| Health Score | 55 | 66 | 63 |
| Total Downloads | 483 | 9.3K | 966 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 250 | 52 |
| Releases | 27 | 28 | 26 |
| Last Updated | 6d ago | 6d ago | 6d ago |
| Age | 3m | 3m | 3m |
Health Breakdown
Technical Details
| luna-aot | luna-core | luna-jit-helpers | |
|---|---|---|---|
| Version | 4.0.2 | 4.0.2 | 4.0.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 11 | 1 | 1 |
| Crate Size | 82KB | 2.0MB | 22KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.96 | 1.96 | 1.96 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •luna-core leads with a health score of 66/100, but none of the options score above 80.
- •luna-core is depended on by 250 crates — strongest ecosystem trust.