Wasmer, a project, has announced the incorporation of SpiderMonkey into their WinterJS project, allowing for runtime execution of Service Workers similar to Cloudflare Workers, Deno Deploy, or Vercel. This is made possible by leveraging the implementation API from the wintercg standard.
To enable code execution through WebAssembly (WASM), Wasmer had to select a technology that supports compilation to WASM. The core code of WinterJS utilizes SpiderMonkey through the Rust API provided by the spiderfire project.
WinterJS can be executed using the regular wasmer command or alternatively through the cargo command of Rust, using a native execution approach.
Source: Wasmer
TLDR: Wasmer has introduced SpiderMonkey into their WinterJS project, enabling the runtime execution of Service Workers. By utilizing the wintercg standard’s implementation API, WinterJS joins the ranks of Cloudflare Workers, Deno Deploy, and Vercel. Execution options include the use of the wasmer command or the cargo command within Rust.
Leave a Comment