Comment by zellyn
5 days ago
> the MacRumors home page crashed after some scrolling
I know there’s a ton going on, with GPUs and rendering and all kinds of things, but I guess because Rust’s memory safety and “no null pointers!” are so constantly hyped (especially in conversations about Go), that I’m always surprised when you fire up a Rust app and do something and it crashes out…
[To be clear, I’m a big fan of modern sum types, and like to imagine an alternate reality where Go had them from the start…]
When they say "it crashed" they probably mean it panicked or just failed to render; not a segfault.
Most languages have a way of saying "I haven't handled this case yet; just exit the program if you get here".
Rust also doesn’t consider DOS a failure condition.
Reading an invalid index, thats a panic.
It can also get oomkilled