Calling rust code from C++ and vice versa
liamsi opened this issue · comments
For a C++ programmer it is very interesting to see how easy rust and C (and C++) integrate. Most of the time one will start with existing C/C++ code and does not have the luxury to start with empty code base. Several tutorials in this direction exist already. Still, it would be very nice to see a simple example and probably link to more details (https://doc.rust-lang.org/book/ffi.html ?)
This! I want to see it as well. The neon project seems interesting.
Me too. :) I only learned that Rust exists a few days ago, and I'm definitely interested in giving it a try - but unless I can integrate Rust libraries into larger C++ applications I'm not sure that it would be at all interesting to me.
Yes, I know Rust can expose a C API... but without digging in myself it's not clear how much would help with, for example, object hierarchies of any real size.