Files
hakorune/src/jit/extern/mod.rs
Moe Charm b003bdf25b 📚 Phase 11 documentation: Everything is Box × MIR15 revolution
Key updates:
- Document MIR 26→15 instruction reduction plan (transitioning status)
- Add Core-15 target instruction set in INSTRUCTION_SET.md
- Save AI conference analyses validating Box Theory and 15-instruction design
- Create MIR annotation system proposal for optimization hints
- Update SKIP_PHASE_10_DECISION.md with LLVM direct migration rationale

Technical insights:
- RefNew/RefGet/RefSet can be eliminated through Box unification
- GC/sync/async all achievable with 15 core instructions
- BoxCall lowering can automatically insert GC barriers
- 2-3x performance improvement expected with LLVM
- Build time reduction 50%, binary size reduction 40%

Status: Design complete, implementation pending
2025-08-31 03:03:04 +09:00

11 lines
311 B
Rust

//! Host-callable externs for JIT-compiled code
//!
//! Phase 10_d: Provide thin bridges for Array/Map hot operations that
//! JIT can call via symbol names. Lowering will resolve MIR ops into
//! these externs once call emission is added.
pub mod collections;
pub mod handles;
pub mod birth;
pub mod runtime;