rust bindings
I'm moving this topic over to a new issue.
I have some automatic bindings that I've generated here: ossia-sys I actually don't know if binding to the C++ is hard or not. I'm using bindgen which claims to generate bindings for C++ as well, I just haven't tried that yet.
hey ! before everything, super nice idea to do a Rust binding. I'd be interested to get a proper one going at some point that would directly call the C++ API, as going through the C API needs to do some more memory allocations. Do you know how easy it is to call directly into C++ from Rust ? I know that D can do that for instance. Otherwise, it would likely be possible to get a Rust OSCQuery library going.
Originally posted by @jcelerier in https://github.com/OSSIA/libossia/issues/550#issuecomment-624046066
here is what bindgen says about c++ https://rust-lang.github.io/rust-bindgen/cpp.html
You can also call c++ directly from rust, but providing a wrapper -sys library is the common approach for rust bindings to other languages.