3 ms·
Appart from cxx.rs. I think most binding between C++ and Rust are in fact C and Rust binding. So you need a C API to your C++ library (no template, no std etc..
by Narew 1y ago
Appart from cxx.rs. I think most binding between C++ and Rust are in fact C and Rust binding. So you need a C API to your C++ library (no template, no std etc...). So for me you can't use C++ library from Rust.
- tormeh 1y agoYou can just use CXX? Idk what to tell you. A coworker of mine is doing it. It's not some kind of weird thing.
- Narew 1y agocxx only support a part of c++ STL container. It doesn't support template and custom container implementation. So no generic, no variadic number of argument, no automatic type déduction etc...