Decision Workspace
nordisk-alloc vs rusty_alloc-api vs rustfs-mimalloc-sys
Side-by-side comparison of Rust crates
The ONE long-lived-server allocator policy for the nordisk constellation — installs mimalloc AND tells it to hand freed memory back to the OS (`purge_delay` 10 ms, `arena_purge_mult` 1) so a dropped transient stops being resident forever. REUSE (LAW #5): mimalloc `0.1` compiles the v3 C sources, and v3 raised `purge_delay` from 10 ms to 1000 ms — at which point RSS is not memory in use but the running MAXIMUM of every transient the process ever built. MEASURED: a 2 GB transient dropped at the shipped default returned 0 bytes; at 10 ms it returned all but 156 MB. Every fat nordisk binary (dwarves-server, nornir-server, korp-server, holger, gunnar-service) wants this, and until now exactly one of them had it.
Safe Rust surface for the rusty_alloc pure-Rust mimalloc remake: GlobalAlloc, first-class Heap, and the Allocator trait. No unsafe required of callers. MIT.
Low-level FFI bindings to mimalloc V3
Core Metrics
| nordisk-alloc | rusty_alloc-api | rustfs-mimalloc-sys | |
|---|---|---|---|
| Health Score | 42 | 59 | 58 |
| Total Downloads | 13 | 32.6K | 33.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 183 | 10 |
| Releases | 1 | 30 | 10 |
| Last Updated | 37d ago | today | 17d ago |
| Age | 1m | 2m | 1m |
Health Breakdown
Technical Details
| nordisk-alloc | rusty_alloc-api | rustfs-mimalloc-sys | |
|---|---|---|---|
| Version | 0.1.0 | 2.2.6 | 0.5.6 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 4 | 1 | 1 |
| Crate Size | 20KB | 19KB | 254KB |
| Features | 2 | 5 | 7 |
| Yanked % | 0.0% | 10.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.96.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rusty_alloc-api leads with a health score of 59/100, but none of the options score above 80.
- •rustfs-mimalloc-sys has the most downloads (33.5K), suggesting wider adoption.
- •rusty_alloc-api is depended on by 183 crates — strongest ecosystem trust.
- •nordisk-alloc, rustfs-mimalloc-sys are pre-1.0 — API may change.