3 ms·
How hard would it be to provide and maintain a C++-to-pure-C API adapter? Serious question.
by nine_k 8y ago
How hard would it be to provide and maintain a C++-to-pure-C API adapter? Serious question.
- kodablah 8y agoI am not sure as I haven't done it, but this has been attempted at a generic level in many languages. E.g. there are multiple cpp-to-rust bridges. That's essentially how most Qt bindings work. Most of the trouble is probably around inheritance, visibility, etc. Well, that and the "provide and maintain [...] adapter" outside of the core supporting library authors has its own upkeep challenges.