Hacker GitHub

← All repos

rust-lang/wg-allocators

View on GitHub ↗ ★ 253

Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!

11 mentions on Hacker News by 10 people: 0 stories, 11 comments · first 2019-06-10 · latest 2024-08-27

Mentions per year 11 mentions · busiest year 2021 (4)
20082026
  1. …that makes sense. Maybe arenas will be viable once the working group makes progress on allocators. https://github.com/rust-lang/wg-allocators
  2. …of a Vec isn't possible in stable. https://doc.rust-lang.org/std/alloc/index.html#the-global_al... https://github.com/rust-lang/wg-allocators
  3. …was the original RFC. My vague understanding is that there's a working group https://github.com/rust-lang/wg-allocators The further I get from working on Rust day to day, the less I know about these things, so that's all I've got for y
    comment by steveklabnik · 2023-03-27 · in Zig and Rust
  4. …invalidating its self-referential "pointers". Per-struct allocators are a work in progress (see https://github.com/rust-lang/wg-allocators/issues/48 ). Not sure what "non thread local addresses" means, but in my experience Rust is pretty…
  5. …using arenas as the memory for stuff like built-in containers (dynamic arrays, hash maps, etc.): https://github.com/rust-lang/wg-allocators
  6. I think the plan is to support this kind of thing with per-collection allocators - https://github.com/rust-lang/wg-allocators
  7. …on custom allocators is underway, some of the std data structures already support them on nightly. https://github.com/rust-lang/wg-allocators/issues/7
    comment by the8472 · 2021-01-23 · in But how, exactly, do databases use mmap?
  8. And here's the working group's repo: https://github.com/rust-lang/wg-allocators
  9. …ust-lang.github.io/rfcs/1398-kinds-of-allocators.ht... https://github.com/rust-lang/rust/issues/32838 https://github.com/rust-lang/wg-allocators
  10. …memory. ... > ... the documentation for the function should explain who "owns" the pointer [1] https://github.com/rust-lang/wg-allocators [2] https://ziglang.org/documentation/master/#toc-Lifetime-and-O...
  11. …plan for parameterizing data structures over allocators. 5. If this topic is of interest to you, https://github.com/rust-lang/wg-allocators is where to get involved.
    comment by steveklabnik · 2019-06-10 · in Malloc Never Fails (2012)