Intercepting Allocations with the Global Allocator

Hello! I've recently written a short article about the GlobalAlloc trait and how to use it with std::alloc::System to intercept allocations. I hope you enjoy the read!

https://bd103.github.io/blog/2023-06-27-global-allocators

By the way, this is my first Rust-related post. Any feedback would be greatly appreciated!

1 Like

ah! you mentioned Storage API, i think it's the future!

1 Like

Hey thanks! I saw it on the internals forums and found it really interesting :smiley:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.