Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
dnautics
16d ago
0 comments
Share
rust does not promise leak safety.
0 comments
default
newest
oldest
josephg
16d 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
15d 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