Hacker News new | ask | show | jobs
by dataflow 1205 days ago
> what now?

Build each one as a separate shared library and wrap each one with a C interface?

1 comments

You can expose a C++ interface, as long as all the types used are ABI stable (i.e std library types bit not boost types).

I have used many libraries that use boost internally (often in a custom namespace) but do not expose it on the API