VMware Labs has unveiled an extension module for Apache’s popular web server that runs WebAssembly binaries, opening new possibilities for languages and projects to run securely in Apache.
The mod_wasm extension module allows the Apache HTTP Server to reply to HTTP requests with applications compiled to WebAssembly. Internally, mod_wasm uses the Wasmtime secure runtime to configure and run Wasm modules.
When an Apache HTTP Server is run with mod_wasm enabled, the Wasm module is preloaded into memory as part of a process to speed up request handling by not loading the Wasm module from scratch every time a request is received.