Crates.io | basic_allocator |
lib.rs | basic_allocator |
version | 0.1.6 |
source | src |
created_at | 2020-06-22 01:09:31.945688 |
updated_at | 2020-07-26 22:20:43.703129 |
description | A very simple global allocator written in pure Rust |
homepage | |
repository | https://github.com/wackywendell/basicalloc |
max_upload_size | |
id | 256523 |
size | 79,625 |
This package includes a home-grown memory allocator written entirely in Rust. It is simple, and meant primarily for educational purposes.
This crate is heavily commented and documented. See the documentation or the code itself for more details.
Development can happen locally on an OSX or Linux machine, using the standard Rust frameworks. In addition, Docker can be used for linux:
$ # Develop using the code mounted
$ docker build --target dev -t basicallocdev . && docker run -v `pwd`:/usr/src/basicalloc -it basicallocdev
[...]
root@0123456789ab:/usr/src/basicalloc# cargo test
[...]