https://github.com/rust-lang/wg-allocators
Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!
https://github.com/rust-lang/wg-allocators
Last synced: 5 months ago
JSON representation
Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!
- Host: GitHub
- URL: https://github.com/rust-lang/wg-allocators
- Owner: rust-lang
- Created: 2019-05-02T21:31:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-12T16:28:17.000Z (over 4 years ago)
- Last Synced: 2025-01-30T07:22:06.247Z (5 months ago)
- Homepage: http://bit.ly/hello-wg-allocators
- Size: 3.91 KB
- Stars: 215
- Watchers: 119
- Forks: 9
- Open Issues: 73
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Allocators Working Group
This WG aims to:
* Define traits and other APIs for memory allocators,
with the unstable [`std::alloc::Allocator`] trait as a starting point.* Make collections such as `Vec` able to use any allocator,
most likely through an additional type parameter.
Discussion has historically happened in (at least) [RFC #1398], [tracking issue #32838], and [tracking issue #42774].
However individual GitHub threads become hard to navigate as they get longer.
This repository’s issue tracker allows discussing and resolving various topics separately.## Getting involved
To be notified of every issue and pull request in this repository, try GitHub’s *Watch* button.
For lower-latency discussion, we have the [`t-libs/wg-allocators`] stream on Zulip.
To try out different proposals, [Tim](https://github.com/TimDiekmann) has created a crate at [TimDiekmann/alloc-wg](https://github.com/TimDiekmann/alloc-wg). For more information on this consult the [readme](https://github.com/TimDiekmann/alloc-wg/blob/master/README.md).
[`std::alloc::Allocator`]: https://doc.rust-lang.org/std/alloc/trait.Allocator.html
[RFC #1398]: https://github.com/rust-lang/rfcs/pull/1398 "Allocators, take III"
[tracking issue #32838]: https://github.com/rust-lang/rust/issues/32838 "Allocator traits and std::heap"
[tracking issue #42774]: https://github.com/rust-lang/rust/issues/42774 "Tracking issue for custom allocators in standard collections"
[`t-libs/wg-allocators`]: https://rust-lang.zulipchat.com/#narrow/stream/197181-t-libs.2Fwg-allocators