Hacker News new | ask | show | jobs
by Dewie 4234 days ago
> , but I haven't seen a way to swap out the memory allocator in various contexts.

You mean something like this?

https://github.com/rust-lang/rfcs/pull/244

I think part of it was inspired by something similar from C++. D-lang also seems to have something like this.

1 comments

Yup. That's excellent. Rust changes so fast, I can hardly keep up. :-)
Sadly though I haven't been able to find any mention of if and when it will be realized. But the sentiment - from what I've gleaned from discussions on it - seems to be that something like that should/need to happen.