11 unstable releases (3 breaking)
| new 0.4.1 | Apr 16, 2026 |
|---|---|
| 0.4.0 | Apr 13, 2026 |
| 0.3.2 | Mar 24, 2026 |
| 0.2.8 | Dec 22, 2025 |
| 0.0.17 | Oct 15, 2025 |
#773 in Programming languages
Used in 6 crates
(4 directly)
11MB
278K
SLoC
RunMat Snapshot Creator
High-performance snapshot system for preloading the RunMat standard library. Inspired by V8's snapshot architecture, this provides:
- Zero-copy serialization with memory mapping
- Multi-tier compression with LZ4 and ZSTD
- Integrity validation with SHA-256 checksums
- Concurrent loading with lock-free data structures
- Progressive enhancement with fallback mechanisms
Architecture
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Standard Lib │ -> │ Snapshot │ -> │ Runtime │
│ Components │ │ Generator │ │ Loader │
│ │ │ │ │ │
│ • Builtins │ │ • Serialization │ │ • Memory Map │
│ • HIR Cache │ │ • Compression │ │ • Validation │
│ • Bytecode │ │ • Validation │ │ • Integration │
│ • GC Presets │ │ • Optimization │ │ • Performance │
└─────────────────┘ └──────────────────┘ └─────────────────┘
Dependencies
~34–85MB
~1.5M SLoC