logoalt Hacker News

Snarwinlast Monday at 8:02 PM1 replyview on HN

You can still write the extension in C++ and expose an extern "C" interface.


Replies

rectanglast Monday at 8:29 PM

That's possible, but then the people building your extension need a C++ toolchain.

The question was "please provide examples where switching to C++ involves jumping through even more hoops", and in my view requiring downstream to use a C++ environment when they're expecting to use a C environment qualifies.

show 2 replies