DEV Community

Discussion on: Explain "Memory Safe Programming Languages" Like I'm Five Please

Collapse
 
rsenna profile image
Roger Senna

Nice one. But it does not explain how Rust is memory safe though. Guess the metaphor would be somewhat more difficult.

Collapse
 
tgifriday profile image
Scott Howell

Rust bakes in the helper (garbage collector)

Thread Thread
 
jcannon98188 profile image
jcannon98188

Rust very famously does not rely on garbage collection which is different than memory safety.

Thread Thread
 
virtualmachine profile image
ByteCodeProcessor

technically reference counting is garbage collection