Wasmer 5.0, the latest stable version of the WebAssembly-based runtime, has been released with support for the iOS mobile operating system. The release also features a leaner codebase and enhanced performance, and support for the Emscripten compiler toolchain has been dropped.
Announced October 29, Wasmer 5.0 can be accessed from wasmer.io. With Wasmer 5.0, WebAssembly is brought to iOS devices through an interpreted mode. Using the capabilities of Google’s V8 JavaScript/WebAssembly engine, the Wasmi interpreter, and the WebAssembly Micro Runtime (WAMR), developers now can run WebAssembly modules on Apple’s iOS. This opens up the possibility for high-performance applications within Apple’s ecosystem, Wasmer CEO Syrus Akbary said. V8, Wasmi, and WAMR serve as back ends with experimental support from Wasmer.
For the codebase, this release emphasized making it as lean as possible to enable faster development of new features. This involved dropping support for Emscripten, whose bindings were mostly unused for the last two years. Dependencies were also trimmed, with a net result of 20,000 lines of code deleted in the Wasmer codebase. In the enhanced performance vein, module deserialization is now as much as 50% faster when developers call Module::deserialize or run a module via wasmer run.