Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
dnautics
14h ago
0 comments
Share
rust does not promise leak safety.
0 comments
default
newest
oldest
josephg
13h 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
6h 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.
j
/
k
navigate · click thread line to collapse