Earlier quoted context omitted.
> You can write stored procs in C#. It just occurred to me that Rust might be a really good fit for user defined functions in MySQL. I would never want to write in C or C++ myself, but with a nice crate that abstracts away and/or provides most the structures you might need to pass back and forth, I would be much more confident that if I got it compiling in Rust that it probably wouldn't blow up my database. I mean, I…
Is there a database where you can write stored procedures in C or C++? Usually such languages can't segfault or buffer overflow.
Most of them. SQL-like languages like Oracle's PL/SQL are preferred, not because of any security problems but simply because it's much easier, specially when working with data sets.