News for hackers. Stuff that matters.
Re:Custom Allocators in Rust by cormacrelf on Sunday April 09, 2023 @04:32AM (#35500905)
They thought of that. There are Box::new_in variants for all the other ways of creating a Box. You can put data in there to identify a green thread’s heap. https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#m...

There are no comments on this comment yet.