Comment by dnautics 6 days ago rust does not promise leak safety. 2 comments dnautics Reply josephg 6 days ago True. But rust does make it a lot harder to leak memory by accident. Rust variables are automatically freed when they go out of scope. Ownership semantics mean the compiler knows when to free almost everything. ethin 6 days ago > But rust does make it a lot harder to leak memory by accident. Rust variables are automatically freed when they go out of scope.RAII has entered the chat.
josephg 6 days ago True. But rust does make it a lot harder to leak memory by accident. Rust variables are automatically freed when they go out of scope. Ownership semantics mean the compiler knows when to free almost everything. ethin 6 days ago > But rust does make it a lot harder to leak memory by accident. Rust variables are automatically freed when they go out of scope.RAII has entered the chat.
ethin 6 days ago > But rust does make it a lot harder to leak memory by accident. Rust variables are automatically freed when they go out of scope.RAII has entered the chat.
True. But rust does make it a lot harder to leak memory by accident. Rust variables are automatically freed when they go out of scope. Ownership semantics mean the compiler knows when to free almost everything.
> But rust does make it a lot harder to leak memory by accident. Rust variables are automatically freed when they go out of scope.
RAII has entered the chat.