tag

栈切换

共 1 篇文章。
全部文章GoGodotGolangTutorialRustSaaSRust TutorsPrdLua游戏客户端MinigameLong Term Novel Writing ExperienceSpore Trilogy Creative Writing Notes孢子三部曲
wasm

WASM 异常处理与栈切换提案:try_table、suspend/resume 与异步运行时

系统覆盖 WebAssembly 的异常(Exceptions)与栈切换(Stack Switching)两大提案:WASM 为什么一直没有原生异常、传统返回码方案的局限、Exceptions 提案的核心(throw 标签、br_on_exn、try_table、跨宿主异常分派)、Rust panic/C++ throw 如何在 WASM 落地、栈切换提案的 suspend/resume 模型(挂起整条调用栈、恢复点、栈迁移与成本)、与事件循环/协程的关系、JS Promise Integration(JSPI)如何统一同步 WASM 与异步 JS、以及 async 运行时、生成器/迭代器、协作式多任务等典型应用,帮助读者理解 WASM 控制流的两大最新基础设施。

8 分钟阅读
WebAssembly 异常处理 栈切换