Today we are very excited to launch Wasmer 3.0, following three months of work since our first alpha.
So, what’s new in Wasmer?
wasmeris now able to run WAPM packages directly via
Wasmer run, now on steroids. You can now pass any package published to wapm.io to the wasmer cli! 🎉
wasmer run python/python will download and run directly the python package from the wapm.io package registry.
The wasmer CLI running python in the Warp terminal!
This greatly simplifies the flow for running WASI executables from WAPM with wasmer.
The Wasmer Rust API has been rebuilt from the ground up.
Thanks to the new API and memory management style, we can now safely store Wasm objects in the Store.
Please check the Wasmer 3.0 Migration Guide to read how to upgrade to 3.0 from 1.0 or 2.0:
We also introduced a new
MemoryView (similar to JS), and we brought wasmer-js (which run Wasmer in the browser with wasm-bindgen) to feature parity with wasmer-sys (running Wasmer natively)
Wasmer previously had the concept of different engines: dylib, universal, and more.
We have simplified all the engines into one to enable easier code reuse.
We are now using rkyv for zero-copy deserialization of build artifacts.
This has significantly improved startup performance!
As reviewed in previous blog posts, we revamped the
create-exe subcommand in Wasmer.
Wasmer can now turn a WebAssembly file into a native Windows, Linux or Mac OS executable. This enables distributing executables to users, without requiring them to install Wasmer themselves.
This functionality is implemented on top of Zig's cross compilation abilities.
You can learn more about how
create-exe works here:
And how we integrated it into WAPM here:
The most popular compiler for blockchains got a lot of new improvements:
Wasmer WASI implementation is becoming more mature. We fixed multiple bugs with the file system and reworked its inner types with WebAssembly Interfaces (WAI). This enables new capabilities, which we will introduce in future.
Stay tuned for some updates on WAI soon!
Install the latest version of the Wasmer CLI and let us know your thoughts!
curl https://get.wasmer.io -sSfL | sh
Syrus Akbary is an enterpreneur and programmer. Specifically known for his contributions to the field of WebAssembly. He is the Founder and CEO of Wasmer, an innovative company that focuses on creating developer tools and infrastructure for running WebAss
Founder & CEO
Syrus AkbaryJune 22, 2023
Arshia GhafooriSeptember 7, 2023
Syrus AkbaryDecember 7, 2021
Syrus AkbaryFebruary 28, 2022