MATA Network uses
rusty_allocas their distributed cloud unified allocator deploying across Windows, MAC, Linux, Android, iPhone, WASM, and ESP-32 for Home devices. This diverse ecosystem is battle testing our code base in every environment for performance, and security.
RAG Converter uses
rusty_allocas the allocator in wasm. It makes personal and work files AI-readable without them leaving the machine: the whole conversion runs as WebAssembly in the browser tab, with nothing uploaded and nothing to install.
DLDeploy.com uses
rusty_allocas their allocator to deploy ESP-32 devices via WASM, but also within the ESP-32 devices as a memory allocation alternative to malloc() and free(), improving performance by over 23% while eliminating memory safety issues.
Rusty_JSON_Turbo is a Serde fork, and saw a 54% top speed increase by implementing
rusty_alloc.
One allocator, one codebase, every target you ship to: Linux, macOS and
Windows servers, desktop apps, the browser (WebAssembly), and bare-metal
microcontrollers. It replaces mimalloc, jemalloc, glibc malloc, dlmalloc
and esp-alloc, each on its home turf, with one pure-Rust dependency: no C
toolchain, no emscripten, no per-platform allocator to qualify.
[dependencies]
rusty_alloc-api = "2.7"#[global_allocator]
static ALLOC: rusty_alloc_api::RustyAlloc = rusty_alloc_api::RustyAlloc;Every number below is measured and reproducible from this repository. The losses are in the table too, because you should know where the trade-offs are before you ship.
| platform | replaces | result | trade-off |
|---|---|---|---|
| Linux servers & CLIs | mimalloc | allocator's own instructions 0.44× / 0.68× / 0.71× on lua / perl / sqlite; whole program 0.96–1.00× | lead is widest in the allocator and narrowest across a whole program, because most instructions in a real program are not the allocator |
| Linux | jemalloc | whole program 0.83× / 0.89× / 0.98× | — |
| Linux | glibc malloc |
whole program 0.81× / 0.81× / 0.99× | — |
| Rust applications | the default allocator path | dedicated GlobalAlloc and Allocator fast paths; Vec::new_in(RustyAlloc) runs 1 % below the same work through #[global_allocator] |
— |
| Windows | system heap | OpenTTD builds in 0.95× the Windows heap's time, ninja on par; peak commit 1.07–1.29× the Windows heap's | commits somewhat more than the Windows heap: freed memory is kept for 10 ms (purge_delay) so a loop that frees and reallocates never refaults |
| Browser (wasm32) | dlmalloc |
churn workload 4.9–7.3× faster; adds +2,435 bytes gzipped to a minimal module | a 2 KB tight alloc/free loop runs 0.55–0.83× as fast as dlmalloc; small tight loops within noise |
| Microcontrollers (ESP32-S3) | esp-alloc |
2.1–3.9× faster on silicon, flat capacity under churn | needs a 64 KiB RAM floor vs 8 KiB; held 21 size classes at once vs 24; 357 NULLs in 50,000 hostile churn allocations vs 0; refuses 64 KiB-aligned requests |
A double free aborts instead of corrupting, on the local and cross-thread paths, where upstream mimalloc accepts it silently in release builds.
- Permissive MIT licence. No GPL, no LGPL, no C anywhere in the dependency tree.
- In production across the Remade With Rust and Mata Network portfolio, with 130,396 active installs.
- Hardened: a loom-verified cross-thread protocol, every
unsafeblock documented and ratcheted, no panic reachable from an allocation on x86-64 Linux release builds, and opt-insecuremode with encrypted free lists for hostile input. Details in Security. - Stable API: frozen since 2.0 and following semver.
- Deterministic evidence: performance claims come from exact instruction
counts, not a noisy stopwatch. Every comparison names its harness in
bench/.
Current release:
2.7.0. The API is stable and follows semver. The release history is inCHANGELOG.md.
Instructions retired under callgrind, x86-64 Linux, LD_PRELOAD, Rust 1.100.
perl and sqlite repeat to the instruction with the hash seed pinned; lua's seed
cannot be pinned from the environment and moves about 0.26 % run to run, so
read lua as indicative and the other two as exact. Real programs,
whole-program instructions:
| workload | vs mimalloc | vs jemalloc | vs glibc |
|---|---|---|---|
| lua | 0.957 | 0.829 | 0.809 |
| perl | 0.988 | 0.889 | 0.810 |
| sqlite | 0.995 | 0.976 | 0.988 |
Whole-program ratios understate the allocator by design, because in a real program most instructions are not the allocator. The same runs, decomposed:
| workload | allocator share | allocator-only ra/mi | whole program | floor if our allocator cost zero |
|---|---|---|---|---|
| lua | 3.3 % | 0.44 | 0.957 | 0.92 |
| perl | 2.7 % | 0.68 | 0.988 | 0.96 |
| sqlite | 1.2 % | 0.71 | 0.995 | 0.98 |
Allocator-only instructions are summed by object from the raw callgrind file
(bench/icount-arms.sh), so code inlined from any source file counts.
Measured 2026-12-02 (2.7.0) against the mimalloc v2.4.5 oracle build and
jemalloc 5.3.0.
Per operation, bench/opscan.sh (instructions per operation, lower is
better):
| op | 2.2.0 | 2.6.0 | 2.7.0 | Δ since 2.2.0 | vs mimalloc |
|---|---|---|---|---|---|
cross-thread free (xthread) |
113.71 | 65.83 | 65.83 | −42 % | 0.50× |
| huge (2 MiB) alloc + free | 689.68 | 145.00 | 138.00 | −80 % | 0.003× |
big (4 KiB) alloc + free |
121.00 | 89.00 | 89.00 | −26 % | 0.40× |
mixed sizes |
110.93 | 85.80 | 85.81 | −23 % | 0.54× |
calloc |
107.57 | 83.01 | 83.00 | −23 % | 0.52× |
posix_memalign |
97.88 | 79.63 | 79.50 | −19 % | 0.42× |
realloc (grow) |
259.86 | 203.92 | 190.79 | −27 % | 0.38× |
small (32 B) alloc + free |
54.39 | 47.07 | 47.07 | −13 % | 0.42× |
All 23 operations in the scan measure below mimalloc. The widest margins are
the 2 MiB pair (0.003×), blocks above 32 MiB (0.021×) and small realloc
(0.36×); the narrowest are the ones dominated by work any allocator must do or
by a large live set: calloc of 256 KiB (0.97×, the zeroing), liveset
(0.86×, 65,536 live objects with a random victim replaced each step) and
shbench (0.83×). Against 2.6.0 the one operation that measurably moved up
is the block above 32 MiB, +0.4 % (1,138 to 1,143), the cost of committing
only the part of a giant block that is reached.
Process start-up is cheap too: reading the allocator's options walks the environment once on Linux, about 25,000 instructions saved on every launch compared with a walk per option.
Rust deliverables reach the allocator through GlobalAlloc, or through the
Allocator trait for a single collection, which the C instruments above never
exercise. Seven deterministic Rust workloads (bench/rust-globalalloc.sh,
whole-program instructions per 20,000 steps, identical checksums between
arms, both columns built by Rust 1.100 on 2026-12-02):
| workload | 2.6.0 | 2.7.0 | Δ |
|---|---|---|---|
boxed trees, buffers, Rc |
17,468,164 | 17,467,850 | 0.0 % |
| hash maps, B-trees, strings | 27,078,126 | 27,078,257 | 0.0 % |
cache-line-aligned buffers (realloc) |
1,216,516 | 1,215,600 | −0.1 % |
| short-lived threads | 2,617,563 | 2,411,815 | −7.9 % |
Vec growth, #[global_allocator] |
50,667,363 | 50,365,884 | −0.6 % |
Vec growth, Vec::new_in(RustyAlloc) |
50,709,569 | 49,856,136 | −1.7 % |
Vec growth, in a first-class Heap |
50,486,172 | 49,687,570 | −1.6 % |
Both Allocator trait routes are now cheaper than the global one. Where the build
is proven unable to panic on an allocation (x86-64 Linux, release,
opt-level 2 or 3, default features), its methods run without the
abort-on-unwind guard the trait's contract otherwise calls for: the panic
sites are counted in the machine code under fat LTO and under Cargo's default
release profile, and held at zero. A short-lived thread makes no system
calls of its own beyond its segment: its random-number generator seeds on
first use, and a segment handed back records how much of it is committed.
The GlobalAlloc methods are #[inline] (as the mimalloc crate's are), so
rustc's __rust_alloc shims carry the fast path instead of jumping to it;
dealloc is the free fast path with its null test folded away; layouts
aligned to 16 bytes, every hashbrown table among them, are served from the
ordinary size classes, which are already 16-aligned; and realloc keeps a
block in place when it fits, and grows a large block in place into the free
space after it.
One more instruction, if the allocator is linked into an executable. On
x86-64 Linux, add --cfg ra_tls_local_exec to RUSTFLAGS for a binary that
declares #[global_allocator]:
RUSTFLAGS="--cfg ra_tls_local_exec" cargo build --releaseEvery allocation finds its thread's heap through a thread-local slot. A
library has to reach it in two instructions, because the slot's offset is
only known when the program is loaded. In an executable the linker knows it,
and the load takes it as its own displacement: one instruction. On the boxed
trees workload that is 1.24 % of the whole program, and __rust_alloc goes
from 16 to 15 instructions per call.
It is a --cfg and not a default because the same code cannot be linked into
a shared library: set it on a cdylib (the LD_PRELOAD override, a plugin)
and the link fails with relocation R_X86_64_TPOFF32 ... cannot be used with -shared. That is the whole failure mode. It is a link error, never a wrong
program.
Peak commit charge on real Windows builds (medians of interleaved runs, Rust 1.100), against the Windows heap and the previous release:
| program, threads | Windows heap | 2.6.0 | 2.7.0 |
|---|---|---|---|
| ninja, 1 | 17.6 MiB | 34.0 | 21.9 |
| ninja, 6 | 33.4 MiB | 90.6 | 43.0 |
| OpenTTD, 6 | 361 MiB | 493 | 405 |
| Godot editor, 6 | 1,024 MiB | 1,435 | 1,097 |
Medium pages and a size class's first small page commit as they fill, large
blocks commit to their last OS page, a segment commits 256 KiB ahead of its
carve cursor, and a heap gives back free spans it has seen unused for a whole
purge_delay. None of it costs speed: OpenTTD's build runs in 0.95× the
Windows heap's time, and loops that free and reallocate fault exactly as many
pages as before.
free is the function a real program spends its allocator time in, so it is
the one worth counting instruction by instruction. Ours is 17 instructions
on the fast path against mimalloc's 25:
| stage | rusty_alloc | mimalloc |
|---|---|---|
| null check + segment resolve | 4 | 4 |
| owner thread-id load | 1 | 1 |
| resolve pointer → page | 4 | 9 |
| page flags test | 0 | 2 |
| owner-thread compare | 2 | 2 |
push onto local_free |
3 | 3 |
used-- and retire branch |
2 | 2 |
| CET landing pad + return | 1 | 2 |
| total | 17 | 25 |
Each page carries one owner word that holds its thread's id only while the page is plain, so the same load and compare that asks "is this my page" also asks "is it plain". The page is found through a per-slice table of page pointers in the segment header.
rusty_alloc builds no_std and runs as the #[global_allocator] on an
ESP32-S3. Everything below was measured on a Seeed XIAO ESP32-S3 Sense at
240 MHz, against esp-alloc 0.11, the standard allocator for the
esp-hal bare-metal track.
All three of these, not two. Every number in this section is of this configuration; the 64 KiB floor below is meaningless without the geometry flag.
rusty_alloc-api = { version = "2", default-features = false }RUSTFLAGS="--cfg ra_single_threaded --cfg ra_small_profile"use rusty_alloc::prim::fixed::{Region, good_region_size};
// The region: whole 64 KiB segments with no padding, and only 16-byte
// aligned — segments stride from its base, so the linker owes it no gap.
// Size it from a budget (or `region_for(usable)` from a need), never a
// round number, and hand it over once before the first allocation.
static HEAP: Region<{ good_region_size(220 * 1024) }> = Region::new();
let usable = HEAP.give().expect("region accepted, given once");
// usable == 196_608: three segments, nothing stranded.Do not write your own container. A plain static [u8; N] has alignment 1,
so fifteen times in sixteen it sits off the 16-byte grid and yields a
segment fewer than its size says (init_region refuses that with
FERR_MISALIGNED); a #[repr(align(65536))] wrapper of your own is rounded
up to the next segment and costs more RAM than the granule it was meant to
save — 60,952 bytes of stack on the firmware that tried it. Region<N> is
the size it says, and nothing more.
| flag | what happens without it |
|---|---|
--cfg ra_single_threaded |
build fails, with a message telling you to set it |
--cfg ra_small_profile |
builds and links clean, then nothing allocates — SEGMENT_SIZE stays 32 MiB, a kilobyte-scale region yields zero segments, and the first Vec returns null |
Region::give (or init_region) |
every allocation fails; the backend has no memory |
(optional) --cfg ra_max_extents="8" |
the free-extent table keeps its default 32 slots (256 B of .bss, i.e. stack); 8 is plenty for a region of a few segments and returns 192 B — the doc on MAX_EXTENTS states the bound |
(optional) --cfg ra_aligned_region |
segments stride from the region's base: Region is 16-byte aligned, the linker leaves no gap before it, and free pays three instructions. With the flag, the 2.0.4 layout: the address mask on free, Region segment-aligned, up to 64 KiB of gap in front of it |
(optional) --cfg ra_segment_size="256k" |
a 64 KiB segment, so LARGEST_SHARED_ALLOC is 61,440 and any bigger request takes a dedicated two segments. With the flag, an 8 KiB slice x 32: a 64 KiB block is a span and three pack into one segment. Set it when your allocation unit is tens of KB; leave it unset for small objects, since it doubles the page floor |
Size the region with the two const fns in prim::fixed, not a round
number: good_region_size(220 * 1024) is 196,608 — three whole segments,
nothing stranded — where a literal 220 KiB strands 28,672 bytes that neither
the allocator nor the firmware can use. The first heap's descriptor is a
1,752-byte static of the crate's, not a page of the region, which is what
lets the region be whole segments.
That middle row is the trap, and it was reported by the first outside firmware
to adopt 2.0.0 (docs/plans/embedded-adoption.md). ra_single_threaded
announces itself, so an integrator reasonably concludes the crate tells you what
it needs — and ra_small_profile did not. init_region now refuses a region
that cannot hold one segment at the active geometry, so the mistake is an Err
at startup rather than a wasted board run; --cfg ra_small_profile is still
what you want to set, because refusing early is a diagnosis, not a fix.
ra_small_profile is a --cfg and not a Cargo feature on purpose: it is
non-additive. Two crates in one graph cannot disagree about SEGMENT_SIZE the
way they can harmlessly disagree about std.
ra_single_threaded is more than a build permit. On a bare-metal target it is
also what lets the linker drop everything that only a second thread could ever
reach — abandon, adopt, the delayed-free list, the thread-exit hook — and on
wasm32-unknown-unknown without the atomics feature the same pruning happens
without any flag at all, because that target has one thread by construction.
Nanoseconds per allocate/free pair, lower is better:
| workload | esp-alloc |
rusty_alloc |
speedup |
|---|---|---|---|
| 32 B alloc/free, one size | 1,638 | 595 | 2.75x |
| 64 mixed blocks (8-512 B), batch out then back | 1,792 | 833 | 2.15x |
| churn: 64 live, random sizes 8-512 B, random replacement | 3,987 | 1,011 | 3.94x |
| 2048 B alloc/free | 1,638 | 1,134 | 1.44x |
esp-alloc wins this by 8.5x, and the reason is structural rather than a
missing optimisation. A linked-list heap's floor is bytes live + per-block header. A size-class page allocator's floor is (size classes touched) x (page size) — independent of how many bytes you actually asked for. The measured
workload touches 10 classes and holds 4,914 bytes; nine of its pages hold 1,412
bytes between them.
Eight adversarial tests — every routing boundary, alignment up to a whole
segment, a realloc chain, alloc_zeroed over deliberately dirtied memory, a
fragmentation adversary, exhaustion and recovery, a 24-class sweep, and 50,000
random-replacement churn ops:
esp-alloc |
rusty_alloc |
|
|---|---|---|
| routing boundaries, realloc chain, zeroing, fragmentation, exhaustion | PASS | PASS |
| 24 distinct size classes held at once | 24 | 21 |
| 64 KiB-aligned request | served | refused |
| NULLs in 50,000 churn allocations | 0 | 357 |
| 512 B capacity over the whole battery | flat 383 | flat 240 |
Use it on a microcontroller when allocation throughput or fragmentation
under churn matters and you have RAM to spare. Use esp-alloc when the
budget is tight — which on many parts it is. We would rather say that than sell
you the wrong one.
Same module, run in node — nanoseconds per allocate/free pair, net of a measured harness floor, with checksums proving both allocators did identical work:
| workload | dlmalloc | rusty_alloc | |
|---|---|---|---|
| churn: 64 live blocks, random 8-512 B | ~71-78 ns | ~10-15 ns | 4.9-7.3x faster |
| 2048 B tight alloc/free | ~9-14 ns | ~16-22 ns | 0.55-0.83x |
| 32 B tight alloc/free, and 64 mixed batched | — | — | within noise |
To ship it small:
[profile.release]
opt-level = "z" # "s" if you would rather have the speed
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true# Another ~16% off the RAW size (parse time and memory; gzip already
# captures most of what this does, so the download barely moves).
wasm-opt -Oz --enable-bulk-memory --strip-debug --strip-producers in.wasm -o out.wasmAnd check your own artifact for build paths. Rust embeds panic locations as
absolute paths, so a published .wasm can carry your home directory and
username. RUSTFLAGS="--remap-path-prefix=$PWD=." fixes it on stable; Cargo's
trim-paths is still nightly.
Audited against the use-protection-please 41-gate hardening standard, with
nightly continuous fuzzing and an owner-accepted residual-risk register
(R-001..R-005). The gate-by-gate table is at the bottom of this README.
Default build:
- A double free aborts instead of handing one block to two owners — on the owner and cross-thread paths both.
- Memory-safe core:
unsafeisolated with a stated invariant per block,undocumented_unsafe_blocksandunsafe_op_in_unsafe_fndenied workspace-wide, a loom-verified cross-thread protocol, and no panic reachable from an allocation on x86-64 Linux release builds, counted in the machine code. - Mitigations proven to fire: a poisoned free list must end in an abort (detected and refused), never a fault from following the poisoned link.
Opt-in for hostile input: secure (encrypted free-list links + a
same-segment link bound; flat ~15 instr/alloc) and blockmap (a per-page
block-liveness map that closes R-005 — a forged link handed out as a live block
— off by default on cost).
Threat model: docs/threat-model.md · unsafe inventory:
crates/rusty_alloc/UNSAFE.md · reports:
SECURITY.md (private GitHub advisories, 3-business-day
acknowledgement).
A reimplementation, not a binding. Every line of the allocator is Rust; the C mimalloc in this repository is a development-only differential oracle, never a dependency, never published.
unsafe is confined to the places an allocator genuinely needs it — the OS
primitive layer, page and segment metadata, and the lock-free cross-thread
protocol — with a stated invariant on every block, unsafe_op_in_unsafe_fn
denied and undocumented_unsafe_blocks denied workspace-wide.
Allocator core — 32 MiB segments sliced into 64 KiB spans, free-list-sharded pages, the loom-verified four-state cross-thread free protocol, thread abandonment and adoption, first-class heaps, arenas, huge allocations, aligned allocation with interior-pointer recovery, and the full realloc family.
Safety — double-free detection on both the owner and cross-thread paths;
debug_checks for full invariant validation; secure for encrypted
free-list links with a same-segment link bound (flat ~15 instr/alloc); blockmap
for a per-page block-liveness map that closes the read-primitive residual R-005
(off by default on cost).
Portability — x86-64 and aarch64, Linux, macOS and Windows, plus
wasm32-unknown-unknown via memory.grow.
Memory — freed memory goes back to the OS once it has stayed free for
purge_delay milliseconds: 10 by default on Windows and Unix, as in upstream
mimalloc. A span or chunk re-used inside that window is never purged, so a
loop that frees and re-allocates a buffer runs at the speed of no purging at
all (WSL2, per iteration: 1 MiB 0.76 us, 64 MiB 206 us, where glibc maps and
unmaps the 64 MiB buffer at 17.7 ms). There is no purge thread: purges run
as the allocator works, on later frees in the same segment and on the
heap's periodic collect (every generic_collect = 10,000 slow-path
allocations), and a forced collect purges everything pending at once.
So memory a thread frees and then leaves idle is purged only when that
thread allocates enough again, exits, or calls collect(true). A daemon
that frees during setup and then parks in an event loop keeps it for good:
call collect(true) before entering the loop, or set purge_delay to 0.
collect reaches only the calling thread's memory (its own heap, or the
shared light heap on a light thread), so call it on the thread that freed
the memory, at that thread's idle point: after a burst, not before it.
Give that idle point a deadline of its own, such as once after 2 s with no
I/O. A loop whose wait timeout comes from its own task deadlines always
wakes with a task due, so "collect when there is nothing to do" never runs
there. On rusty_WRT's odhcpd, in a test build that allocates a fresh
netlink buffer per read, that debounce took anonymous PSS from 432 to 260
KiB at boot.
The same collect also gives back the free slots of a page that still holds
a live block: a 512 KiB medium page (8-64 KiB requests) pinned by one
long-lived object returns each free slot's pages past its first
(docs/plans/free-slot-purge.md).
Set
RUSTY_ALLOC_PURGE_DELAY (or MIMALLOC_PURGE_DELAY) to 0 to purge as soon
as memory is free, or to -1 to keep freed memory resident for the fastest
re-use, or call options::set(15, ..) before the first allocation.
Options — every mimalloc option name and index is accepted (they are
ABI), but only ten change behaviour: show_errors, purge_decommits,
purge_delay, arena_reserve, disallow_arena_alloc, guarded_min,
guarded_max, guarded_sample_rate, guarded_sample_seed and
generic_collect. The rest, including eager_commit,
arena_eager_commit, reserve_os_memory, show_stats and
retry_on_oom, are stored and returned but have no effect. The table is
in the options module docs, and a test holds it to the source.
[dependencies]
rusty_alloc-api = "2.7"| crate | docs | what |
|---|---|---|
rusty_alloc |
docs.rs | allocator core |
rusty_alloc-api |
docs.rs | safe Rust surface — start here |
use rusty_alloc_api::RustyAlloc;
#[global_allocator]
static ALLOC: RustyAlloc = RustyAlloc;
fn main() {
let v: Vec<u64> = (0..1_000).collect();
println!("{}", v.iter().sum::<u64>());
}crates/rusty_alloc allocator core (published)
crates/rusty_alloc_api safe Rust surface (published)
crates/rusty_alloc_ffi mi_*-compatible C ABI
crates/rusty_alloc_override malloc/free interposition cdylib
crates/rusty_alloc_bench Tier-B harness + trace record/replay
crates/rusty_alloc_wasm wasm self-test fixture
oracle/mimalloc C mimalloc @ v2.4.5 — dev-only oracle
corpus/mimalloc-bench the 1:1 benchmark corpus
docs/LEDGER.md one entry per milestone: numbers, method, reverts
git submodule update --init oracle/mimalloc corpus/mimalloc-bench
bash oracle/build.sh # build the C oracle arms
bash bench/icount-arms.sh # deterministic instruction A/B
bash bench/opscan.sh # per-operation scan vs mimalloc
bash corpus/sweep-all.sh # full-corpus correctness sweep
bash corpus/realworld.sh # real programs, checksummed, 3 armsNote for anyone running the test suite: use a debug build — the allocation
counters behind alloc::stats() are #[cfg(debug_assertions)], matching
upstream's MI_STAT rule.
Remade With Rust is an initiative by Mata Network to rebuild essential C and C++ tools in Rust — for the memory safety, the predictable performance, and the freedom of a permissive license. Each project is a reimplementation, not a fork: same wire protocols and file formats, new code you can actually depend on.
We build the core to production grade and open-source it so the community can extend it. No copyleft. No surprises. Just the tools we rely on, made faster and safer.
| Project | What it is |
|---|---|
| 🎬 remade_ffmpeg_rs | Our FFmpeg alternative. Drop-in ffmpeg and ffprobe binaries — demux → decode → filter → encode → mux, rebuilt as composable Rust crates with zero GPL/LGPL. Apache-2.0. rusty_h264 is its H.264 codec. |
| 🧠 FFAI | Our sister project: media for AI. "The AI media toolkit, remade with rust." Embedded ASR + TTS (Mercury), OCR (Carmenta) and vision-language captioning (Argus) behind an ffmpeg-style, swap-by-name architecture — no Python, no CUDA. MIT OR Apache-2.0. |
| 🌐 Mata Network | The home page. "Stop sacrificing your privacy for convenience." Sovereign, self-hostable privacy infrastructure — wallet & identity, password manager, contact manager, and a browser extension that stops information leaking as you browse. Remade With Rust is its open-source arm. |
→ All projects: github.com/Remade-With-Rust
MIT — see LICENSE. No GPL or LGPL anywhere in the tree. The vendored oracle and benchmark corpus are development-only, keep their own licences, and never ship.
rusty_alloc is part of the remade-with-rust portfolio from Mata Network: foundational software rebuilt in Rust, memory-safe by construction, measured rather than asserted.
Tier critical-path · Audited 2026-08-20 (survey) · v1.0.0 gates 14/15 · Full checklist
██████████████████░░ 94% · 33 Completed · 1 Scheduled · 1 Incomplete · 20 N/A
| Phase | ✅ Completed | 🗓 Scheduled | ⬜ Incomplete | · N/A |
|---|---|---|---|---|
| 0 — Threat modeling | 2 | 0 | 0 | 0 |
| 1 — Toolchain | 4 | 0 | 0 | 0 |
| 2 — Supply chain | 8 | 0 | 0 | 0 |
| 3 — Code level | 6 | 0 | 0 | 1 |
| 4 — Static analysis | 1 | 0 | 0 | 0 |
| 5 — Dynamic analysis | 3 | 0 | 0 | 0 |
| 6 — Fuzzing and properties | 3 | 1 | 0 | 0 |
| 7 — Formal verification | 1 | 0 | 0 | 0 |
| 8 — Build and binary | 0 | 0 | 0 | 2 |
| 9 — Runtime privilege | 0 | 0 | 0 | 1 |
| 10 — Cryptography | 1 | 0 | 0 | 2 |
| 11 — CI/CD, release, and operations | 4 | 0 | 1 | 0 |
| 12 — Compliance controls | 0 | 0 | 0 | 14 |
| Total | 33 | 1 | 1 | 20 |
Next up — H-27 Continuous fuzzing with no open crashes (2026-09-19 (30 days from the nightly job's first run))
Architect — Tim — Mata Network