从基础开始的 WebAssembly
WebAssembly from the Ground Up

原始链接: https://wasmgroundup.com/

帕特里克是一位程序员和独立研究员,基于德国慕尼黑。他是Ohm的共同创建者和主要维护者,Ohm是一个易于使用的JavaScript解析工具包。职业生涯初期,他在IBM的J9 Java VM上工作了四年。此后,他曾在Google(Chrome和Android)、Lyft和Sourcegraph等公司工作。

## WebAssembly 从基础开始:摘要 一本新书《WebAssembly 从基础开始》(wasmgroundup.com)正在 Hacker News 上引发讨论。虽然 WebAssembly 规范通常被认为易于阅读,但一些开发者发现二进制和文本格式的细节,以及所选规范语言(SpecTec,一种基于 ML 的系统)具有挑战性。有些人更喜欢更传统的 BNF 方法。 尽管存在这些复杂性,许多人发现该规范出人意料地容易理解,并赞赏其详尽性。本书旨在弥合差距,提供一种教程式的 WebAssembly 理解方法,补充参考风格的规范。 作者强调理解核心概念的重要性,使扩展更容易掌握。代码示例和相关的 NPM 包 (@wasmgroundup/emit) 在 GitHub 上可用。讨论还涉及 WASI(WebAssembly 系统接口)及其在 WebAssembly 中运行命令行工具的潜力,以及 WASI 1.0 的持续开发。最终,本书被定位为寻求更深入了解该技术的经验丰富程序员的宝贵资源。
相关文章

原文

Patrick is a programmer and independent researcher based in Munich, Germany. He’s a co-creator and the primary maintainer of Ohm, a user-friendly parsing toolkit for JavaScript. At the beginning of his career, he spent four years working on the J9 Java VM at IBM. Since then, he’s worked at companies like Google (on Chrome and Android), Lyft, and Sourcegraph.

联系我们 contact @ memedata.com