Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
fluffything
6y ago
0 comments
Share
All memory allocations in Rust follow a `malloc`-like API that ends up calling `malloc` and similar at some point.
0 comments
default
newest
oldest
saagarjha
6y ago
With memory management, the question is often when and how to release resources, not how to get untyped memory from the operating system.
fluffything
OP
6y ago
Sure, but in Rust, the programmer writes code that calls malloc manually, which is completely different from Java.
j
/
k
navigate · click thread line to collapse