top | item 45879558

(no title)

pizza234 | 3 months ago

> Rust spends almost all of its complexity on eliminating weaknesses that don't even make the top 5 in either list

Uh? Number 2 in CWE is an out-of-bounds write, and the same vulnerability is number 1 in the KEV list.

discuss

order

pron|3 months ago

That falls into "spatial" memory safety, which Zig also provides. Rust's ownership and lifetime - the core of its design - go into eliminating use-after-free, aka "temporal" memory safety.