Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Rust Memory Management. Parent comment
Note that it only applies to local variables. If you have a primitive inside an object then it's allocated on the heap as part of the outer object.
There are no comments on this comment yet.
Note that it only applies to local variables. If you have a primitive inside an object then it's allocated on the heap as part of the outer object.