Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

.stack definitely seems like a mistake in the context of Webassembly. I’d be interested in seeing the justification for it.


Because 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: