Re:Rust and C++ Interoperability in Chrome
by rightbyte on Wednesday August 19, 2020 @03:27PM
(#24215048)
Surely C++ exceptions and destructors has to be the main issue for interoperation?
I've done to many C++ wrappers with C linkage of C++ libs to call from C, that convert exceptions to error codes and free_obj() wrappers to run destructors.
I've done to many C++ wrappers with C linkage of C++ libs to call from C, that convert exceptions to error codes and free_obj() wrappers to run destructors.