3 ms·
> 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
by 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.