The state of Rust allocators in 2026: stabilised

(cetra3.github.io)

41 points | by fanf2 1 day ago

1 comments

  • slopinthebag 18 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.
    • tliltocatl 16 minutes ago
      When you need it, you need it for the whole program (including all the dependencies).
      • slopinthebag 15 minutes ago
        rust has GlobalAlloc
        • tliltocatl 3 minutes ago
          Which is useless if you don't want any dynamic allocation at all.