The state of Rust allocators in 2026: stabilised

(cetra3.github.io)

44 points | by fanf2 1 day ago

2 comments

  • slopinthebag 23 minutes ago
    at this point I don't see much argument for languages that make allocators explicit. the escape hatch is there in rust for the rare case when you need it, and you get safety and all of rust's other benefits now too. well done to the rust core team to get this stabilised.
    • dnautics 5 minutes ago
      Postgres has 11 allocators, erlang has at least 8. Databases and VMs are canonical use cases for systems PLs.
    • tliltocatl 21 minutes ago
      When you need it, you need it for the whole program (including all the dependencies).
      • slopinthebag 20 minutes ago
        rust has GlobalAlloc
        • tliltocatl 8 minutes ago
          Which is useless if you don't want any dynamic allocation at all.
  • NooneAtAll5 3 minutes ago
    so... what exactly was changed from straight-forward implementation of the feature that has been "unstable" for so many years?