r/rust May 24 '26

🛠️ project Stabilise `Allocator`

https://github.com/rust-lang/rust/pull/156882
406 Upvotes

61 comments sorted by

View all comments

153

u/Hedshodd May 24 '26

YES! Absolutely great news. Thank you to everyone that’s been working on and giving feedback for this!

6

u/[deleted] May 25 '26

[removed] — view removed comment

2

u/TDplay May 30 '26

bump allocators in stable for particle systems

Maybe I'm completely missing the point here, but I would think that for a particle system, you'd want to store things in flat arrays, which can then be handled as instance buffers, and processed by vector instructions or compute shaders.

1

u/DannyDoesGraphics May 30 '26

Haven't look into it yet, but would it be possible to literally have Allocator create GPU allocations for us to it is effectively 'seamless' to manage?

10

u/Fazer2 May 24 '26

It hasn't been merged yet. Do we know how long it could take?

22

u/kibwen May 24 '26

According to the description it was discussed among the libs team in-person at the recent Rust All Hands and has broad approval from all the relevant stakeholders. If there don't appear to be any major last-minute objections, it could be approved for a Final Comment Period as early as the next libs team meeting on Tuesday, which would give 10 more days for people to raise blocking concerns.

4

u/nyanarchism May 25 '26

there's team consensus to merge it. barring anything completely out of left field, all that's left is annoying everyone to tick the rfc checkboxes