|
|
|
|
|
by api
4067 days ago
|
|
Side note: C++ should do something to address binary interoperability and ABI issues. This would be hard, as some of this lies outside the scope of language designers and specifications. The ball largely rests with compiler and platform developers. But there are things that could be done. A common pattern to make C++ libraries usable from languages like Java, Swift, Ruby, Python, etc. without encountering DLL hell issues or language impedance mismatch is to "downgrade" the C++ API into a "--" plain C API. This is done by providing plain C wrappers. Perhaps something could be done to either ease this process or make it unnecessary. Another possibility would be to do something to lean on platforms to address the issues around this. Sometimes languages with as much center of gravity as C++ can do this. |
|