Live data from Hacker News

Wasmer 5.0

wasmer.io

21–30 of 90 posts

Re: Wasmer 5.0

#21

Cool release! I've yet to personally find a good use case for wasm in any project, kind of the same way I'm not quite sure what to do with a bunch of Raspberry Pis It fills a need, I just don't know who/what has that need. Example: Say I write a bunch of Rust async projects for fun. Scraping APIs, etc. How/why would I choose wasm/wasmer to do that instead? I'd do it in Rust (awkwardly/in some specific non-standard wa…

I’m using WASM as the modding interface in my game. (I’m using wasmtime from Rust, but same principle.)

Main benefits are isolation, binary portability, and hot reload.

Re: Wasmer 5.0

#22

Cool release! I've yet to personally find a good use case for wasm in any project, kind of the same way I'm not quite sure what to do with a bunch of Raspberry Pis It fills a need, I just don't know who/what has that need. Example: Say I write a bunch of Rust async projects for fun. Scraping APIs, etc. How/why would I choose wasm/wasmer to do that instead? I'd do it in Rust (awkwardly/in some specific non-standard wa…

Everyone else has answered about WASM, so I'll answer about raspberry pi. I've got 5 of them. One is running Home Assistant for all my home automation and camera recording. One is running a quadruped that I built. And three are connected to three sets of speakers around the house running a home-rolled Sonos-like setup so I can stream the same music all around the house from my phone.

Re: Wasmer 5.0

#23
Interesting.

I am happy with wasmtime though.

Hacking on a wasm component model and wasi based plugin system these days.

Having loads of fun. (I am aware of extism, but I am doing it for the fun :))

Re: Wasmer 5.0

#27
Sorry to be that guy but what's the business model for all these web assembly runtime companies?

Re: Wasmer 5.0

#28
post #27

Sorry to be that guy but what's the business model for all these web assembly runtime companies?

This one runs their own serverless platform that you can deploy your WASM apps to, but their pricing is... vague.

Re: Wasmer 5.0

#30
post #5

Earlier quoted context omitted.

Take that API scraping script example. Imagine next you want to build a platform where you run code written by your users who want to e.g. scrape APIs. Think ParseHub I guess? Zapier is another good example. You'd let them write in Rust or some other language that can target WASM, then you'd run the WASM blobs in a controlled sandboxed execution environment in your platform.

So basically: what every single platform with plugins should be doing to protect their users. Or similar via some other language that allows sandboxing, e.g. Lua.

Yeah, but the plugins can be written in Rust!

OK, OK, it’s a bad example. WASM is language agnostic though, so as more languages can target WASM, then the possible advantage is programming language agnosticism. If I have some code, I don’t have to re-write it in Lua.

Post reply on HN