Skip to content

luizmugnaini/alloha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alloha 🌺

This project contains the implementation of classic memory allocators from scratch, written in C.

Development

The library has a bundled compilation unit src/all.c which may be used if you wish to compile as a unity build. This is as simple as, e.g.:

# Build static library.
clang -c -std=c11 -Iinclude src/all.c -o libyoneda.o && llvm-ar rc libyoneda.a libyoneda.o
# Build all library tests.
clang -std=c11 -Iinclude tests/test_all.c -o test

Another option is to use the build.lua script, which will manage to build the project with many custom options that may be viewed in the file itself. With that said, Lua is, optionally, the only dependency of the whole project - being only required if you want the convenience of running the build script.

References and Similar Projects

About

Fast memory allocators with low overhead

Resources

License

Stars

Watchers

Forks