Tricks of working with native memory

added by DotNetKicks
12/29/2016 2:09:02 PM

2 Kicks, 245 Views

I want to start by saying that this isn't my idea, I read about it a few times, and I recently encountered it with sodium_malloc, so I decided to write my own implementation of the world's most expensive memory allocator. What this code does is pretty simple, and quite brutal.