@cwebber imho rust is ok for making a .so with a C API, but interacting with C++ is MUCH harder. And I've tried cbindgen and bindgen and they "work" but ye gods ;)
Fundamentally Rust-the-source-language is like modern C++ header-based libraries. Good fucking luck making a .so without shipping the .h source. ;)
@brion @cwebber Header based code may be fine, but I find I can't call it a library.