4 ms·
.stack definitely seems like a mistake in the context of Webassembly. I’d be interested in seeing the justification for it.
by nynx 4y ago
.stack definitely seems like a mistake in the context of Webassembly. I’d be interested in seeing the justification for it.
- aseipp 4y agoBecause people want a call stack when an exception is thrown, so they can print it out, just the same way they do in JavaScript and every other language. EDIT: Also as another commenter mentioned, this is a property exposed by the VM engine to the host environment, not something directly observable from within WebAssembly itself.