Rusty Malloc
A multithreaded yet simple memory allocator written in Rust.
This crate is a hobby project I did to get hands-on experience with unsafe Rust. Nevertheless, I made an effort to write good documentation so that it can also serve as a learning resource.
Usage
To use this crate you can add rusty_malloc
as a dependency in your project's Cargo.toml
.
[]
= "0.2"
use RustyMalloc;
use BrkGrower;
static ALLOCATOR: = unsafe ;
To read more about the allocator's mode of operation, check out the documentation.