by general_ai · 9y ago · 0 comments
Yet implemented in Rust. Why? If you want adoption, the best way to design something "for embedding" is to write it in C.
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.
> that _ends up calling into C_ anyway.
What specifically do you mean here?