News for hackers. Stuff that matters.
Re:Rust Memory Management by johncolanduoni on Tuesday May 09, 2017 @11:09AM (#14300673)
Java uses the stack for local variables (including pointers to objects on the heap and primitives), and I believe Python uses a stack for the same as well. Return pointers are the least of stack usage.
Re:Rust Memory Management by Veedrac on Tuesday May 09, 2017 @12:27PM (#14301381)
They don't allocate objects on the stack, though; they merely store bindings (and, in Java's case, primitives).