Comment by int_19h
9 months 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.
9 months 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.
That 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.