clang-wasm
clang-wasm copied to clipboard
C++ Standard Library Support?
In your explorations of WASM, have you come across a way to use the C++ standard library without emscripten? I've modified your makefile to work on macos, but I haven't been able to get libc++ and libc++abi working. I basically copied the files from emscripten and tried changing them, but there were an overwhelming number of missing functions and errors. I am curious about what emscripten does under the hood.
It is possible to download a C++ standard library and make it work in this repo. It will be a little messy, as there are many undefined referernces one has to stub.
I have done this, but the resulting WASM file was so large that I thought it was better to stick to C.