3 ms·
Quite a lot, or at least by proxy given that you would have to talk to library and compilers that are written in C++. However: Some libraries/packages do expos
by mhh__ 10y ago
Quite a lot, or at least by proxy given that you would have to talk to library and compilers that are written in C++.
However: Some libraries/packages do expose a C api, which you could use in a language assuming it had a decent FFI.
A lot of major C++ projects use exceptions, which you will have to catch and handle inside of the C++ because even if C could catch exceptions, there is no guarantee of ABI compatibility. Some languages, I think D can do it, can catch an exception thrown in C++ code.
You might have better luck integrating a standard data interface between the C++ and any other language: However, that could be a little slow.