Comment

Comment by AyanamiKaine

I really hate wasm, not because of the idea or concept but because it gets bloated.

The first idea was computation heavy algorithms to be written in a language like C/C++/Rust and to be compiled to wasm.

Now it gets marketed as something to write sandboxed code/compontents for every language to be consumed by a wasm runtime.

Then there is the problem with the types of wasm. While it was seen to be something run on the web/browser. Its types are way more similar to rusts. For example strings in JS are fundamentally UTF-16 while wasm/rust is utf-8.

We need to constantly convert between them. I always hoped that wasm would simply allow for faster code on the web not here is my program completly sandboxed from the outside world you cant interact with other programs on the same machine.

parent AyanamiKaine 7 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton