Actually fun part. My noscrypt makes no calls to allocate heap memory. So much C work can be done on the stack or in the data segment. I do maintain forks of mimalloc and rpmalloc for my C# framework which is fun. Take a look into the Cosmopolitan libc and APE loaders which is a pretty awesome project I like to hang out around https://github.com/jart/cosmopolitan