emscripten-core / emscripten-core/emscripten
WebAssembly and Exception Handling (throw)
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Hey all,
After getting clang-repl running in the browser, I worked on integration it with jupyterlite. Xeus-cpp, a C++ Jupyter kernel provides a way to integrate it. Here is a static link that can be used to try C++ completely in the browser (https://compiler-research.org/xeus-cpp/lab/index.html) . An example notebook `xeus-cpp-lite-demo.ipynb` has been provided to show what all can be acheived.
Coming back to the issue. I see we can't run `throw` (or a try catch blocking involving throw) while running clang-repl in the browser.

The debug logs tell me that this comes from dlopen

All this can be tried through the static link above.
Contributor guide
Assessment
This issue has not been assessed yet.