3 ms·
Any code in Rust is free to bind to FFI and sockets can be gained through `libc`.
by Argorak 7y ago
Any code in Rust is free to bind to FFI and sockets can be gained through `libc`.
- jeremyjh 7y agoI didn't literally mean "How is that possible?" I meant: is that a real thing? Is there a database binding out on crates.io that uses no_std ?
- pcwalton 7y agoSQLite is C code and any Rust usage of it will not play nicely with M:N. This is just off the top of my head. I'm sure there are plenty of other examples.
- Argorak 7y agoYes. E.g. some databases highly recommend using their C library, as they don't consider their protocol specified. That gap might close, but it will stay with us for years.