Hacker News new | past | comments | ask | show | jobs | submit login

All memory allocations in Rust follow a `malloc`-like API that ends up calling `malloc` and similar at some point.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: