Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
🛤 Exception handling #4
This is a tracking issue for a post-MVP feature
The WebAssembly MVP supports four no-exception modes for C++:
These modes are suboptimal for code bases which rely on C++ exception handling, but are perfectly acceptable for C code, or for C++ code which avoids exceptions. This doesn't prevent developers from using the C++ standard library: their code will function correctly (albeit slower at times) as long as it doesn't encounter exceptional cases.
Post-MVP, WebAssembly will gain support for zero-cost exception handling.
In turn, this can be used to implement