Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by Measter

5 hours ago

Memory allocations in Rust are also always done explicitly, but Rust's library types don't have APIs that allow you to get it wrong.

2 comments

Measter

Reply

vacuity  1 hour ago

Rust doesn't (yet) have the same level of control over allocators as Zig does.

  • Measter  17 minutes ago

    The Rust language has exactly that level of control. Rust's Alloc and STD implementations do not yet provide it.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities