Skip to content

RubberDuckEng/simple_malloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_malloc

Lets write a simple malloc

Usage:

clang malloc.c && ./a.out

Things to do

  • Benchmark (space and time)
  • Slab allocation / small object table
  • Compress header
  • Freelist (performance)
  • Use out how to use as the real malloc for a program
    • Needs: malloc, calloc, free, realloc
    • LD_PRELOAD
  • Tech to C++
  • Return memory to the OS
  • refactor free functions to be object oriented (e.g. node_set_next_free)

About

Lets write a simple malloc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages