Skip to content

cbracken/simple_allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple allocator

A simple, poorly-performing memory allocator.

Prerequisites

To build, you'll need cmake, ninja, and a clang build toolchain installed on your system.

Obtaining the source

First, clone the repo; then, initialise and fetch git submodules:

# Initialise local configuration file.
git submodule init

# Fetch submodules (googletest).
git submodule update

Updating git submodules

To update the git submodules to a newer commit, simply run:

git submodule update --remote

Building and running

First, generate the ninja build files:

# For debug build:
cmake -DCMAKE_BUILD_TYPE=Debug -GNinja

# For release build:
cmake -DCMAKE_BUILD_TYPE=Release -GNinja

Executable binary

To build and run the binary:

ninja
./bin/main

About

A simple, poorly-performing memory allocator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors