cpp_weekly
cpp_weekly copied to clipboard
Handling C++ exceptions in C wrappers
Channel
C++Weekly
Topics
You develop a C++ library and want to make it usable from other programming languages. Most languages offer a way to write extensions in C, hence a common practise is to write a C wrapper for your C++ library. This can then be used to implement other language extensions (go, python, julia, ...)
How do we handle C++ exceptions on this first boundary towards C?
Length
~10 minutes