Comment

Comment by 3a2d29

What’s kinda annoying about comment sections on these articles is it shows how many people have opinions on this topic that they know only a bit about.

Rust is safer than C++ because it does “opt-out” of memory safety, rather than modern C++ which is more “opt-in”

But Rust (other than for threads) is definitely not more memory safe than Go/Java etc. Safe rust code can still memory leak. Unsafe rust code can have memory errors (and does frequently) that those others would stop.

parent 3a2d29 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton