4 ms·
All memory allocations in Rust follow a `malloc`-like API that ends up calling `malloc` and similar at some point.
by fluffything 7y ago
All memory allocations in Rust follow a `malloc`-like API that ends up calling `malloc` and similar at some point.
- saagarjha 7y agoWith memory management, the question is often when and how to release resources, not how to get untyped memory from the operating system.
- fluffything 7y agoSure, but in Rust, the programmer writes code that calls malloc manually, which is completely different from Java.