Skip to main content

Questions tagged [memory-management]

For questions related to managing memory in programming languages, whether manually or automatically.

15 votes
2 answers
465 views

Could ownership be inferred?

Rust famously has the concept of ownership vs. borrowing as part of its type system. This allows some level of automatic memory management ─ that is, heap allocations are freed when their owner goes ...
kaya3's user avatar
  • 20k