Paul Krill
Editor at Large

Wasmtime WebAssembly runtime set for 1.0 release

news
Sep 9, 20222 mins

Developers of the embeddable WebAssembly runtime have focused on compiler performance and runtime security in the run-up to a September 20 release.

car speedometer

Wasmtime, a standalone runtime for WebAssembly, is nearing its official 1.0 release.

A project from the Bytecode Alliance, Wasmtime is due to reach 1.0 status on September 20, the group said in a September 6 blog post. Wasmtime runs WebAssembly code outside of the web. It is intended to be a configurable, embeddable runtime to run on any scale of application. WebAssembly, or Wasm for short, is a binary instruction format for a stack-based virtual machine, serving as a compilation target for programming languages and enabling web deployment of client and server applications.

For the upcoming release, the Wasmtime developers have focused on making the compiler generate faster code, making Wasmtime instantiate a compiled module faster, and making the runtime as efficient as possible once a module is running. Work also has been done to ensure that the runtime is secure and that the compiler produces correct code. Installation instructions for Wasmtime can be found at wasmtime.dev.

Wasmtime was built on the Cranelift code generator, which generates machine code either at runtime or ahead of time. Wasmtime has been optimized for efficient instantiation, low-overhead calls between the embedder and WebAssembly, and scalability of concurrent instances.

When Wasmtime executes a WebAssembly program, the CPU executes both native instructions compiled from the WebAssembly bytecode and parts of the Wasmtime runtime that maintain data structures to help implement WebAssembly semantics. Work has been done to improve the startup phase, which covers time to compile code and time to instantiate a Wasm module, as well as the steady-state phase, which covers the speed of generated code and speed of runtime primitives. Cranelift also has been optimized, with plans calling for further optimizations.

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