Hacker News new | ask | show | jobs
by fluffything 2390 days ago
All memory allocations in Rust follow a `malloc`-like API that ends up calling `malloc` and similar at some point.
1 comments

With memory management, the question is often when and how to release resources, not how to get untyped memory from the operating system.
Sure, but in Rust, the programmer writes code that calls malloc manually, which is completely different from Java.