In reply to @.bobbbob "what are the advantages": advantage: you don't use the Nim allocator (one thing that come in my mind is multithreading because the nim allocator has bugs here and there that makes it harder than it should), you can override malloc with another allocator of your choice like mimalloc disadvantage: you don't use the Nim allocator, if you dont override malloc this means you have to make a syscall for every allocation your program does which can significantly slow it down because nim preallocate memory and reuse it to avoid those slowdowns