mod_wasm: Run WebAssembly with Apache
wasmlabs.dev
mod_wasm: Run WebAssembly with Apache
1–10 of 54 posts
Re: mod_wasm: Run WebAssembly with Apache
#2Today, we announce a new Apache module to run WebAssembly modules: mod_wasm. This module opens a new set of possibilities as many languages and projects can run securely in Apache.
Re: mod_wasm: Run WebAssembly with Apache
#3Re: mod_wasm: Run WebAssembly with Apache
#4Re: mod_wasm: Run WebAssembly with Apache
#5WASM really needs some getting started guides that describe what the hell is going on and what the capabilities and limitations are and how to... well... get started.
Re: mod_wasm: Run WebAssembly with Apache
#6WASM is still too unapproachable. I've looked into how to build things for WASI/WASM and it seems like you're just dropped into this world of tooling and development practices that I'm sure makes tons of sense to people who are already steeped in the WASM ecosystem but is disorienting for someone new. WASM really needs some getting started guides that describe what the hell is going on and what the capabilities and l…
Totally agree with you. WebAssembly has a lot of potential, but currently the entry barries is quite high and for some use cases, it's not mature enough. As you mention, tooling is unclear, and the ecosystem misses important features such as debugging capabilities.
However, at the same it's an exciting ecosystem for the same reason: there's a lot to explore and improve. Hopefully, these projects we are building gathers the interest from different communities and more people start adding ideas.
And for future ideas, what would you like to be covered in an article about WebAssembly? Thanks!
Re: mod_wasm: Run WebAssembly with Apache
#7> Internally, it uses the wasmtime runtime to configure, initialize, and run the Wasm modules.
What is wasmtime? I looked at its page and couldn't figure out what they mean by a wasm runtime. I thought the runtime was in the browser. Wouldn't a user just need to compile and just a binary?
Re: mod_wasm: Run WebAssembly with Apache
#8From my understanding the benefit of wasm on the server side is generally that you get the sandboxing inherent in the VM. Why would you want that in the context of Apache? Are people planning on running untrusted code?
If mod_wasm is designed to address any of those issues (which are touched on only briefly in the article), it would be nice for it to describe how using wasm improves over other techniques one might use to solve those problems like using containers or VMs for encapsulating the execution environment.
Re: mod_wasm: Run WebAssembly with Apache
#9I struggle to understand wasm, though I'm interested. What does this part mean? > Internally, it uses the wasmtime runtime to configure, initialize, and run the Wasm modules. What is wasmtime? I looked at its page and couldn't figure out what they mean by a wasm runtime. I thought the runtime was in the browser. Wouldn't a user just need to compile and just a binary?
Re: mod_wasm: Run WebAssembly with Apache
#10What is the actual problem this is trying to solve? Are there programming languages it was previously hard to write web apps in? Do people not like setting up nginx? From my understanding the benefit of wasm on the server side is generally that you get the sandboxing inherent in the VM. Why would you want that in the context of Apache? Are people planning on running untrusted code? If mod_wasm is designed to address…
I think this has a bright future ahead:
* wasm has a lot of traction, just yesterday I wrote a first test on deploying wasm to cloudflare workers (the latency when the deployed function was really low)
* apache httpd is still one of the most used http servers in the wild
So, I think it's just a natural fit.
wasm will be huge, btw, if you haven't noticed that you haven't been paying attention.