Passing extra context data during drop - possible feature discussion

Hi!

First post here, hope I'm doing this right.

I read an interesting blog post recently describing and proposing a powerful context passing mechanism in the language.

I thought the ideas behind it were very interesting and it inspired me to write my own take on a similar idea that has been bugging me for a while here:

I was wondering if any such feature is in the works, and where would the best place to discuss it be?

There are several good crates for arena allocations : ‘arena’ search // Lib.rs

There are obviously crates for that. I never said pools are not possible in Rust. I said they are possible, they have certain drawbacks and I want to improve on them. What I want to discuss is a way to idiomatically free an allocated object back to its pool at drop time to reduce the possibility for memory leaks.

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.