News for hackers. Stuff that matters.
Re:Show HN: How to compile C/C++ for WASM, pure Clang, no li... by david2ndaccount on Monday April 11, 2022 @01:26PM (#30992038)
I do a similar thing for my side project. Note that the clang that comes with Xcode (Apple clang) doesn’t have wasm support.
Re:Show HN: How to compile C/C++ for WASM, pure Clang, no li... by ern0 on Wednesday April 13, 2022 @05:34AM (#31012691)
Thanks for warning! Anyway, I just got a new Mac, but I started with installing brew and then install CLANG comes with brew.

I have had more headache with my not-too-but-old-enough Linux systems, 2 of 2 failed: one got stuck when linking (yes, the linker hangs!), another one produced perfect size .wasm output, with... wait for it... full of zero bytes. Full story here: https://stackoverflow.com/questions/71573019/cant-compile-to...