2 ms·
>"Nobody should bother developing an alternative to SQLite because 1% of SQLite's users won't be able to run it" ...and a 80% or more of the rest 99% wont both
by coldtea 11y ago
>"Nobody should bother developing an alternative to SQLite because 1% of SQLite's users won't be able to run it"
...and a 80% or more of the rest 99% wont bother to run it, because all it buys them is hassle, as SQLite is present everywhere, well maintained by the guy who wrote it, with lots of books on it, interfaces for all their favorites languages and environments, tested thoroughly by its dev, and battle proven.
Of course somebody can write it in Rust, and do whatever they like. It might even catch on eventually.
But merely "it will be more secure because of advanced compiler technology" is not that enticing an argument -- especially if people don't have many security issues with it in the first place.
Now if it was a Rust-based Sendmail...
- pcwalton 11y agoAt this point you're arguing against a lot of things I've never said. Obviously an alternative to SQLite will have to be compelling enough to motivate its use in ways that likely exceed just memory safety concerns. That is true of any proposed replacement for any piece of software. The point is simply that, if you want to write a SQLite alternative, Rust is a reasonable language to write it in.
- coldtea 11y ago>At this point you're arguing against a lot of things I've never said. Yeah, didn't say you said those. But since I started this subthread, I'm merely expanding and explaining further the thigs I said initially. >The point is simply that, if you want to write a SQLite alternative, Rust is a reasonable language to write it in. Oh, on that I agree. I was mainly questioning the need to rewrite in the first place (and especially for this particular software, being an embedded db et al), not whether Rust as a language is a good choice to do so. That said, the less mature ecosystem/toolchain etc, is still an issue for some projects that would still benefit from Rust -- e.g. for somebody used to work with VS C++, etc.