Initial commit

This commit is contained in:
2026-01-17 12:17:57 -06:00
commit a68b0cd2ae
11 changed files with 397 additions and 0 deletions

28
README.md Normal file
View File

@@ -0,0 +1,28 @@
# mem
## Description
Simple memory allocator written in C.
## Table of Contents
- [Description](#description)
- [Features](#features)
- [Usage](#usage)
- [Credits / Resources](#credits--resources)
- [License](#license)
## Features / TODOS
- [x] Try / Catch
- [x] Versatile Error Handling
## Usage
`make` to build.<br>
`make test` to build and run tests. ASAN allocator may fail option is turned on to showcase failure handling.<br>
## Credits / Resources
[Memory Allocation Strategies - Ginger Bill](https://www.gingerbill.org/series/memory-allocation-strategies/)<br>
[Arena allocator tips and tricks - Chris Wellons](https://nullprogram.com/blog/2023/09/27/)<br>
[C Interfaces and Implementations](https://github.com/drh/cii)<br>
## License
This project is licensed under MIT - see the [LICENSE](LICENSE) file for details.