26 ms·
Exporting a C API from a C++ project to consume in another C++ project is really painful. This is how you get COM. (which actually slightly pre-dates C++, I th
by pjc50 1y ago
Exporting a C API from a C++ project to consume in another C++ project is really painful. This is how you get COM.
(which actually slightly pre-dates C++, I think?)
- Someone 1y ago> This is how you get COM. (which actually slightly pre-dates C++, I think?) No. C++ is from 1985 (https://en.wikipedia.org/wiki/C%2B%2B https://en.wikipedia.org/wiki/C%2B%2B), COM from 1993 (https://en.wikipedia.org/wiki/Component_Object_Model https://en.wikipedia.org/wiki/Component_Object_Model)
- quotemstr 1y agoCOM is actually good though. Or if you want another object system, you can go with GObject, which works fine with Rust, C-+, Python, JavaScript, and tons of other things.