3 ms·
> 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
by zellyn 1y 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…]
- IshKebab 1y agoWhen 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".
- jpc0 1y agoRust also doesn’t consider DOS a failure condition. Reading an invalid index, thats a panic.
- empath75 1y agoIt can also get oomkilled