Skip to content

wackywendell/basicalloc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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