New week, new Rust! Wnat are you folks up to?
I'm currently working on a "replacement" for alloc, with the following goals:
- Totally safe consumer API (including deallocation)
- Arbitrary allocator API, somewhat like Rust's existing unstable feature
- Bottom-up error handling (for any allocating type, you can choose at compile time to panic, or return a
Result, or even use your own strategy) - Any allocator can be made the global allocator at runtime (can be disabled via feature flag)
I've been reinventing different parts of the standard library for a little while, mainly adding genericity and flexibility. It's been quite a learning experience!
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.