This is a general-purpose memory allocator written in Go. I wrote it to allocate GPU memory for anyvec, but it could be used for other things as well.