3 ms·
It cannot crash its written in Rust.
by Galanwe 2y ago
It cannot crash its written in Rust.
- IshKebab 2y agoRust can absolutely crash. It crashes ("panics" in Rust terminology) in a memory safe way but it's still a crash (please don't try to redefine the word "crash" to be more specific than it actually is). And Rust can still have unsafe code so it can crash in memory unsafe ways too (though it is very unlikely unless you're doing things very wrong).
- littlestymaar 2y ago> And Rust can still have unsafe code so it can crash in memory unsafe ways too (though it is very unlikely unless you're doing things very wrong). From when I grokked the code a bit (back in 2017) there was a non trivial amount of unsafe code, especially related to integration with SpiderMonkey (the js engine) so it wouldn't even be particularly surprising to see segfaults in servo, unlike most rust projects.
- jeroenhd 2y agoMost crashes I've seen trying this out seem to stem from panics. As an end user I would call that a crash, but from a programmer standpoint you could say it's an unexpected normal shutdown.
- silver_silver 2y agoI believe that was a joke
- efilife 2y agoDon't you dare joke on this website