本文部分翻译自 fermyon 的一篇博客,原文地址: https://www.fermyon.com/blog/webassembly-component-model 对于一种语言生态而言,标准可能并不是其中最令人激动的部分。但是,“组件模型” 这个看似无聊的名称…
为了解决多语言多模块互通问题,Wasm 社区推出了名为 WebAssembly Component Model 的新提案,目前这是 Wasm 社区最高优先级推进的一项工作。 在9 月 3-5 日即将召开的 QCon 北京 2023 上,Intel Web Platform Engineering 软件工程师、Wasm Micro Rumtime 项目主要贡献者何良将带来以《WebAssembly Component Model 构建...
Component Model 提案也采用了计算机科学领域的通用解决方案 (All problems in computer science can be solved by another level of indirection)[17],即,以 Module Linking 为中心,结合 interface types 等相关特性,为 WebAssembly 核心规范增加一个间接中间层 "Module Linking Layer"[18],如下图 5 所示。
Component Model(组件模型) 是一个在多语言环境下实现多个 wasm 模块相互协作的提议,它引入了一套抽象类型解决多语言的类型差异,并用序列化 / 反序列化来解决抽象类型到 wasm 基本类型的过渡。该提议目前得到了社区的广泛支持,在 2023 年取得了显著的进展,支持提议的 wasm runtime 数量在增长,基于 Component model...
随着新的 componentize-py 项目,Python可以跻身顶级 WebAssembly 语言之列。 译自Can WebAssembly Get Its Act Together for a Component Model?。 WebAssembly 的最后一公里仍在进展中,Wasm 社区争先恐后地确定一个共同的标准。在其他事项中,它正等待组件接口Wasi的标准化,这是确保在部署 Wasm 应用程序的不同设备和...
或许是由于WASM本身功能的缺陷导致需要大量胶水层产生来修补才能够很好的进行工作,当 Component Model,Stack-Switching, GC 这些 proposals 落地之后,Wasm 在前端的应用可以完全摆脱对 JS 的依赖以及胶水层产生的性能损失,基于 Wasm 的前端框架可以充分发挥自己的性能优势。如下图所示:总结 WebC产品展示了Wasm构建...
我们还在向 Kotlin 引入对WebAssembly Component Model的支持,这将用于构建可互操作的 Wasm 库和应用程序。 我们还在努力使 Kotlin/Wasm 成为浏览器之外开发的良好目标,包括对 WASI (WebAssembly System Interface) 的支持。 作为 WebAssembly Community Group 的一部分,通过与 WebAssembly VM 的供应商积极合作,我们希望确...
或许是由于WASM本身功能的缺陷导致需要大量胶水层产生来修补才能够很好的进行工作,当 Component Model,Stack-Switching, GC 这些 proposals 落地之后,Wasm 在前端的应用可以完全摆脱对 JS 的依赖以及胶水层产生的性能损失,基于 Wasm 的前端框架可以充分发挥自己的性能优势。
The WebAssembly Component Model streamlines interactions between WebAssembly components and their host environments by standardizing interfaces, data types, and module composition. This standardization is facilitated through the use of a WIT (WASM Interface Type) file. WIT files help describe the ...
Recent WebAssembly advancements including better programming language support and the introduction of both the WebAssembly System Interface, and the WebAssembly Component Model, have transformed it from primarily a client-side technology to a server-side one as well. The advantages associated with ...