Compacting memory for C/C++/Rust?

Hi, has someone already tries this memory compacting strategy for Rust?

1 Like

You should be able to just add it to LD_PRELOAD and try it out, no source change needed.

3 Likes

This seems like another malloc implementation, so I imagine you can you use #[global_allocator] attribute to use Mesh. This can be easily implemented as a crate on crates.io.

1 Like

@leonardo Please post your results. I also saw that video and was curious how it compares to other implementations for Rust code. I'm sure others are in the same position.