Skip to content

I guess name mislead, but basically my own memory allocator.

Notifications You must be signed in to change notification settings

leonardojava/heap_alloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heap Alloc

I mostly followed the steps in this video by tsoding for the heap.c implementation, it's just a static-sized byte array that you can borrow memory from. For dynamic_heap.c I use virtual alloc in the same way other people use mmap to take a bunch of memory from the OS that I manage myself borrowing a lot of logic from previous heap.c.

Description

Free list memory allocator that dynamically sizes up using Virtual Alloc. I compiled it in GCC, and is probably no better than regular malloc lol.

About

I guess name mislead, but basically my own memory allocator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages