News for hackers. Stuff that matters.
Re:Show HN: How to compile C/C++ for WASM, pure Clang, no li... by ern0 on Wednesday April 13, 2022 @05:37AM (#31012711)
Just rename the file and remove extern "C" stuff :). It started as C, but then I switched to CPP, to see, can I export simple symbol names, not mangled ones C++ produces.

Anyway, you can use C++ as C, using just as many C++ features as you need. (Insert "throwing the guy out of window" meme picture here.)

There are no comments on this comment yet.