Paul Krill
Editor at Large

Wasmer 2.2 revs compiler, supports Apple M1 and Aarch64

news
Mar 1, 20222 mins
Development Libraries and FrameworksProgramming LanguagesWeb Development

Compiler overhaul for the server-side runtime for WebAssembly boosts both compilation speed and execution performance.

speedometer 124549393
Credit: Thinkstock

Wasmer 2.2, the latest version of the open source server-side runtime for the WebAssembly binary instruction format, has arrived with โ€œmajor improvementsโ€ to the Singlepass compiler including new hardware support.

Announced February 27, Wasmer 2.2 reintroduces Aarch64 compatibility for Wasmerโ€™s Singlepass compiler and introduces Apple M1 processor support. The overhaul of Singlepass means that Web3 and blockchain developers can efficiently run Wasmer with Singlepass on Linux, Windows, and MacOS, the Wasmer team wrote in a note on the release.

Singlepass performance also has been improved. For x64_64 on Linux, for example, the Wasmer developers said Singlepass performance between version 0.17 and version 2.0 has increased roughly 25 percent.

Instructions for installing the Wasmer standalone runtime can be found at docs.wasmer.io. The Wasmer 2.1 release, published last November, introduced a refactor of Singlepass to enable a new, straightforward back-end implementation. With Aarch64 compatibility, Singlepass promises to be more powerful, flexible, and useful, the Wasmer team said. But Wasmer still needs to be tested โ€œin the wildโ€ against production workloads. Users are asked to download Wasmer 2.2 and provide feedback on how it is working at the Wasmer Slack channel.

Wasmer allows developers to run WebAssembly modules, either standalone or embedded, within other languages such as C/C++, Rust, PHP, Go, and Python. Wasmer is designed to allow programs to be written in any language and portable binaries to be run unmodified on supported OSes such as Linux or Windows. Wasmer also acts as a secure bridge for Wasm (WebAssembly) modules to interact with native OS functionality via ABIs such as WASI or Emscripten.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorldโ€™s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorldโ€™s audience of software developers and other information technology professionals. Paul has won a โ€œBest Technology News Coverageโ€ award from IDG.

More from this author