It's designed to meet our embedding needs: in Firefox for desktops, Firefox for Android, Firefox for iOS, and Project Tofino (Node + Electron).
Widespread adoption a la SQLite is not one of our goals.
Rust meets our goals just fine⦠and it also produces demonstrably more correct software than C, which is important to us. (Not to mention leveraging the borrow checker and data race avoidance to provide safe near-automatic parallelization, which is a neat trick that's not in C's quiver.)
I would rather build Mentat in Swift or JavaScript than in C.
Datapoint: GNOME's Federico Mena Quintero is working on a file-by-file port of librsvg to Rust. Compiled Rust objects are linked with compiled C objects. Both Rust and C call functions in librsvg's C dependencies, such as Cairo. None of this is weird; it's precisely what Rust was designed for.
Widespread adoption a la SQLite is not one of our goals.
Rust meets our goals just fine⦠and it also produces demonstrably more correct software than C, which is important to us. (Not to mention leveraging the borrow checker and data race avoidance to provide safe near-automatic parallelization, which is a neat trick that's not in C's quiver.)
I would rather build Mentat in Swift or JavaScript than in C.