Unofficial Hacker News companion — get notified on comment replies, and more.

The state of Rust allocators in 2026: stabilised (opens external site)

219 points by fanf2 4 days ago | cetra3.github.io | 90 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. Huh, that's a thing? I thought there was just `no_std` and then you can simply leave out `extern crate alloc`.
    Replies (2)
    1. Frankly I'm not sure syntactically, didn't have to touch no-std in a bit, so I assume you're right. I do know that no_alloc is a crate tag people use and it's a readable enough way to phrase it
    2. It's exactly as you describe. No_alloc is just no_std without using alloc crate.