Skip to content

spitulax/memplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memplus

A library to help with memory allocation and other useful things in C.

Features

  • Allocator interface
  • Arena allocators (growing, static, temp)
  • Heap allocator
  • Dynamic array
  • Sized string
  • String builder
  • UTF-8 string support
  • Hash table
  • Hash set
  • File IO
  • Logging
  • Tracking allocator
  • Testing
  • Subprocess
  • Other kinds of allocators
  • Socket IO
  • Threading

Usage

Memplus is a header only library that you can copy to your project and modify as you like.

#define MEMPLUS_IMPLEMENTATION // add this line once in a C file
#include "memplus.h"

Support

Theoretically supports POSIX systems and Windows. Tested on Linux with GCC and Clang, and on Windows with MSVC.

About

A library to help with memory allocation in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors