Live data from Hacker News

Wasmer 5.0

wasmer.io

61–70 of 90 posts

Re: Wasmer 5.0

#61

Earlier quoted context omitted.

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

What's the difference between this and a generic photo from one of the dozens stock photo catalogs? Is this somehow "cheaper" because it's "AI" generated? Using stock photos is also cheap (free or cents per)... Second, does anyone really care? Has anyone spent more than half a second looking at a generic picture on an unrelated article? Does the generic hoodie hacker look good on security articles? Or the earth with…

It looks soulless, even more than a the generic "hacker man" picture, at least you could tell these were made by a human. For me its one of the lowest "effort" you could put in a picture. Of course thats entirely subjective but personally I hate it and it doesn't seems like im the only one here.

Re: Wasmer 5.0

#62
I'm having a really hard time reading the performance graps.

The thousand separator comma and dot are both used (which is not correct in any part of the world), and precision is being randomly rounded to 1, 2 or 3 digits.

Re: Wasmer 5.0

#63

Earlier quoted context omitted.

What do you mean? Wasmer isn't a web frontend tech

Well apparently it is? I am confused https://github.com/wasmerio/wasmer-js Don't browsers support wasm natively?

wasmer is a software to run a wasm binary locally like an app.

wasm is a web standard supported by browsers and lets this wasm binary run in the browser.

Also, the project called "wasmer" that is discussed in this thread is https://github.com/wasmerio/wasmer and not wasmer-js that you link to.

Re: Wasmer 5.0

#64

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…

Wasm could be a handy way of letting users mod your app using their choice of programming language that can compile to wasm. Compare with how lua is used.

Re: Wasmer 5.0

#65

Earlier quoted context omitted.

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

What's the difference between this and a generic photo from one of the dozens stock photo catalogs? Is this somehow "cheaper" because it's "AI" generated? Using stock photos is also cheap (free or cents per)... Second, does anyone really care? Has anyone spent more than half a second looking at a generic picture on an unrelated article? Does the generic hoodie hacker look good on security articles? Or the earth with…

> What's the difference between this and a generic photo from one of the dozens stock photo catalogs?

You see an AI generated image next to a bullet point list and start to suspect all you are reading is AI generated nonsense.

It doesn't exactly help communicating professionalism if that is the intended goal.

Rather, it gives the idea that the author did a minimal effort post.

Re: Wasmer 5.0

#66
post #58

I have a hard time understanding what Wasmer does from their landing page. I understand it runs everything everywhere, unbound and above the cloud, but what does it do ? From the name it seems like a very dev oriented product, and I can’t find a single technical word, just buzzwords

From my understandning, it's a runtime that runs webassembly (wasm). So anything that can be compiled to wasm can be runned with this which means it can be executable everywhere wasmer exists.

Re: Wasmer 5.0

#68
post #58

I have a hard time understanding what Wasmer does from their landing page. I understand it runs everything everywhere, unbound and above the cloud, but what does it do ? From the name it seems like a very dev oriented product, and I can’t find a single technical word, just buzzwords

It's a runtime for WASI blobs (basically a WASM based standard for crossplatform command line tools), for instance:

    emcc hello.c -o hello.wasm
    wasmer hello.wasm
    Hello World!
This uses Emscripten as C compiler, but alternatively you can use the wasi-sdk toolchain instead of Emscripten to build WASI blobs:

- https://github.com/WebAssembly/wasi-sdk

...or Zig as C compiler:

    zig cc -target wasm32-wasi hello.c -o hello.wasm
    wasmer hello.wasm
    Hello World!
...or of course Zig as Zig compiler :)

    zig -target wasm32-wasi hello.zig
    wasmer hello.wasm
    Hello World!
(not sure if the Rust toolchain comes with builtin WASI support, but probably yes).

...or instead of wasmer use another WASI runtime:

- https://github.com/wasmerio/awesome-wasi?tab=readme-ov-file#...

...this is probably the best part of WASM and WASI, there's no 'vendor lock-in'.

Re: Wasmer 5.0

#69
post #67

Ok where to use it? Anybody using it? How it gives benefit over docker?

Not specific to wasmer, but WASI runtimes are much more lightweight than Docker, especially on Windows or macOS.

For instance on macOS, a wasmer installation is a single 45 MByte executable, the alternative wasmtime is 28 MBytes, and if performance doesn't matter much, the wasm3 WASI interpreter is a 255 KBytes(!) executable - compared to that, a macOS Docker installation is 1.5 GBytes (and that doesn't even include any docker images).

WASI itself can also be used in places where Docker doesn't make sense, for instance in this VSCode extension I'm using a C cmdline tool compiled to a 209 KB WASI blob:

https://github.com/floooh/vscode-kcide

Re: Wasmer 5.0

#70

I really don't know what problem(s) this solves. Don't all the javascript runtimes already have wasm engines built into the runtimes?

You don't need to carry around a whole Javascript engine when all you want is running some WASM/WASI code. Granted, the real-world differences aren't all that big:

    - wasmer: single 45 MByte exe
    - wasmtime: single 28 MByte exe
    - node.js: 87 MByte, lots of individual files
    - deno: 186 MByte over two executables (deno and denort not sure what denort is though)
As an extreme outlier, there's wasm3 which is a WASI interpreter and which is just a single 255 KB executable (not a typo).

All sizes looked up on an ARM Mac.

Post reply on HN