跳到正文
原文
Shopify Engineering·· 2020-12-19AI 评分22

Shopify 如何在浏览器之外使用 WebAssembly

How Shopify Uses WebAssembly Outside of the Browser

AI 导读

Shopify 用 WebAssembly 在自家基础设施上执行第三方 Partner 代码,以解决 App 模式下的扩展与网络延迟问题。其代码执行服务基于 Fastly 开源的 Lucet(Wasm 运行时兼编译器),模块经 Wasm 校验后编译为接近裸机性能的可执行产物,并支持提前编译。Shopify 称 Wasm 满足安全、性能、灵活三项要求,并会持续向所依赖的开源工具回馈。

来源:Shopify Engineering · shopify.engineering