basic_allocator

Crates.iobasic_allocator
lib.rsbasic_allocator
version0.1.6
sourcesrc
created_at2020-06-22 01:09:31.945688
updated_at2020-07-26 22:20:43.703129
descriptionA very simple global allocator written in pure Rust
homepage
repositoryhttps://github.com/wackywendell/basicalloc
max_upload_size
id256523
size79,625
Wendell Smith (wackywendell)

documentation

https://docs.rs/basic_allocator

README

A Basic Allocator

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

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
[...]
Commit count: 61

cargo fmt