2 ms·
No, they're saying that you will still see segfaults if you write it in Rust, because Rust's borrow checker is unusable in that environment.
by int_19h 3y ago
No, they're saying that you will still see segfaults if you write it in Rust, because Rust's borrow checker is unusable in that environment.
- IshKebab 3y agoThat doesn't seem to be at all what they're saying, but in any case I checked SurrealDB (biggest Rust DB I could find) and there was exactly one report of a segfault and the developers couldn't reproduce it. As far as I can tell about 5% of mariadb bugs mention segfaults, compared to 0.2% for SurrealDB. I mean it's fairly obvious that even if some code in a Rust database is `unsafe` because it deals with manual paging and DMA and whatever, most of the code is going to be safe code.