> That's simple, secure, and extremely efficient. It's difficult to do in Nim 
> (or in Rust, last I checked) because I cannot provide my own memory manager 
> for portions of the code.

No, it's simple to do in Nim, the allocator is thread local anyway, so in your 
worker thread call `GC_disable` and after the thread dies, everything is freed 
(and yes, more efficiently than running over the free lists).

Reply via email to