3 ms·
There have been some good CPPCon talks on the subject of wrapping C libraries. CppCon 2014: Lisa Lippincott "How to call C libraries from C++" https://www.yout
by lfowles 9y ago
There have been some good CPPCon talks on the subject of wrapping C libraries.
CppCon 2014: Lisa Lippincott "How to call C libraries from C++" https://www.youtube.com/watch?v=3ZO0V4Prefc https://www.youtube.com/watch?v=3ZO0V4Prefc - This is the first one that comes to mind
- hackits 9y agoGive credit to Lisa for the presentation. Although she starts with the premise that don't build a OOP over a C API instead use rules instead! Although by the end of the presentation I have to question her recommendations and solution to the problem. Namely her final result is harder to read and understand than the original C code she showed at the start of the presentation. I would have to question the whole C++ language where still to this day they're still talking about communicating with C API from the C++ layers. The STL/BOOST library are a step in the right direction but also a step back with the language that in a nightmare to work with unless you stick a very small sub-set of the language.