Memory · rusty_alloc_default on MATA

One Line Change

installs rusty_alloc as the process global allocator for the whole graph. Rust alternative to ad-hoc global_allocator wiring.

What is rusty_alloc_default, the global allocator install seam?

rusty_alloc_default is a tiny seam that installs rusty_alloc as the process global allocator. It replaces the boilerplate #[global_allocator] wiring a crate would otherwise copy into main.

1

One Line Change

installs rusty_alloc as the process global allocator for the whole graph. Rust alternative to ad-hoc global_allocator wiring.

rusty_alloc_default is the Remade with Rust pin for this lane — ad-hoc global_allocator wiring. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.

2

Instant benefit

Default-on wiring that installs rusty_alloc as the process global allocator so sibling chrome crates share one link and one heap.

3

How MATA uses rusty_alloc_default

MATA uses rusty_alloc_default wherever the Remade catalog calls for this lane. MATA stores and moves durable state with this Remade memory-lane crate: local replicas, compression, or parse paths that must work when the network is gone.

Load Building the New Internet from Dev Tools before an agent picks the stack, then audit with use-protection-please. The public conversion pin stays on remadewithrust.com/repo/rusty-alloc-default so SEO/AEO for the crate win and the MATA usage story do not compete for the same sentence.

4

Get access and deploy

  1. Open the source: https://github.com/Remade-With-Rust/rusty_alloc_default.
  2. Add the crate (crates.io when published, otherwise git):
    cargo add rusty_alloc_default

    Git pin: cargo add --git https://github.com/Remade-With-Rust/rusty_alloc_default.git

  3. Prove the pin with cargo check before the next agent prompt can swap it for a C or cloud default.
  4. Read the MATA Learn note: /learn/rusty-alloc-mimalloc-alternative-in-rust/.
  5. When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.

Why rusty_alloc_default is a global allocator install seam

What it keeps

rusty_alloc_default keeps the install step and nothing else. The allocator itself is rusty_alloc. This crate only replaces the boilerplate that points the process at it.

Where it fits

rusty_alloc_default belongs next to rusty_alloc. Use it when the process should allocate through that crate without hand-written global-allocator wiring.