Skip to content

luizmugnaini/alloha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DISCLAIMER

This project is now hosted at https://git.sr.ht/~luizmugnaini/alloha

This repository will no longer be updated. Please refer to the new hosting page for new development and contributions or contact me via e-mail.

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 liballoha.o && llvm-ar rc liballoha.a liballoha.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. Now hosted at https://git.sr.ht/~luizmugnaini/alloha

Resources

License

Stars

Watchers

Forks

Contributors