Remix.run Logo
achierius an hour ago

Looks nice! Though I have to say, you should probably avoid sbreak even for small allocations -- obviously it's slow, but even beyond that you have to deal with the fact that it's essentially a global singleton and introduces a lot of subtle failure cases you might not think of + which you can't really solve anyways. It's better to mmap out some chunk of memory and sub-allocate it out yourself.

macintux an hour ago | parent [-]

Can you supply an example of a failure case that can’t be solved (or is at least challenging to solve)?