Skip to content

wackywendell/basicalloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 emulating 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
[...]

Examples

Several examples live in the examples directory. These can be run with cargo:

$ cargo run --example grow_heap
$ cargo run --example hello_world
$ cargo run --release --example stress_test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published