Live data from Hacker News

Wasmer 5.0

wasmer.io

31–40 of 90 posts

Re: Wasmer 5.0

#33

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 think the biggest company using wasm in production is figma (though there might be others). Otherwise, here is an example where wasm shines. Say you have an editor (rvim) and you want to support plugins. Usually, you’ll have a language interpreter and ask developers to develop in this language. With wasm, you can give them the freedom to use whatever stack they want. Then you expose an interface for their wasm artifacts. This abstract the host OS away. Another example is game mods/plugins.

Re: Wasmer 5.0

#35
post #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 :))

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

Same here! Can you share what you're working on? I'm (slowly) making a 3D CAD modeling API, so you write Rust code to define a model, and compile it to WASM so it can hot-reload and let you iterate faster.

https://github.com/bschwind/opencascade-rs/tree/main/crates/...

Re: Wasmer 5.0

#37

God, please stop using random AI-generated images in a release post..

What is the issue with AI-generated images? Just being overdone in general? Or ethical concerns?

Makes your article looks cheap like a random blogspam. My personal opinion, obviously.

Re: Wasmer 5.0

#38

> having V8 as a backend also means supporting WebAssembly Exceptions and Garbage Collection under the hood. Stay tuned for more news on this front soon Looking forward to this and languages that can make use of wasm-gc. Does wasm-gc allow sharing of host data/strings across different modules in the same runtime, or is it contained to only single module with repeated calls/invocations? The scenario I am considering w…

Sharing GC data between wasm modules is supported, yes. You just need to define the types identically on both sides, and things work.

Re: Wasmer 5.0

#39

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.

Cool! Thanks! I've got none of that.

Re: Wasmer 5.0

#40
Could this ever function as a less resource intensive substitute for Electron apps? WASM doesn't have DOM access, but could it be added in these extensions?

Edit: Maybe this question doesn't make sense as the OS would need to have the runtime installed, and if that can be assumed, we would have lightweight apps already.

Post reply on HN