Anyone using WebAssembly yet? HTML, CSS, JavaScript - all there.
Just about nobody uses WebAssembly. It first appeared almost ten
years ago. This is snail-speed evolution at best.
anonymous908213•1h ago
People use wasm for things that need wasm. My use case is my cross-platform game engine, because running both natively and in the browser was a priority for me. It is a wonderful tool and it is a truly magical feeling to see my native games running in the browser. But 99% of web developers are developing ordinary websites, so they don't need it. That's not an indictment of wasm.
demaga•58m ago
I saw a few web apps that use Rust crates for physics. I guess they must be using wasm?
dagi3d•45m ago
Figma
miki_oomiri•38m ago
You have the wrong understanding about wasm. It's absolutely not supposed to be replacing HTML, CSS or JS.
And yes wasm is used wildly. On the web for expensive computation (Google earth, figma, autocad, unity games) or server side for portability and sandboxing (Cloudflare workers, fastly, …)
taminka•35m ago
wasm isn't meant to supersede html/css/js (unfortunately) and it's regularly used for high performance applications in the browser, web-based cad software, figma, youtube (i think they use wasm for codec fallback when support is spotty) etc
there is also games, stuff to do with video (ffmpeg built for wasm), ml applications (mlc), in fact it's currently impossible to use wasm w/o js to load the wasm binary
as a result, the web stack is a bit upside down now, w/o the seemingly "low level" and "high performance" parts over the slow bits (javascript)
Tools like Figma are only performant because of WASM.
vjerancrnjak•41m ago
It’s funny how there is continuous reinvention of parsing approaches.
Why isn’t there already some parser generator with vector instructions, pgo, low stack usage. Just endless rewrites of recursive descent with caching optimizations sprinkled when needed.
mgaunard•23m ago
There are good parser generators, but potentially not as Rust libraries.
embedding-shape•16m ago
Hardware also changes across time, so while something that was initially fast, people with new hardware tries it, finds it now so fast for them, then create their own "fast X". Fast forward 10 more years, someone with new hardware finds that, "huh why isn't it using extension Y" and now we have three libraries all called "Fast X".
high_na_euv•6m ago
I'd say because parsing is very specific kind of work heavily dependent on the grammar you're dealing with
writebetterc•12m ago
So it went from parsing at 25MiB/s to 115MiB/s. I feel like 115MiB/s is very slow for a Rust program, I wonder what it's up to that makes it so slow now. No diss to the author, good speedup, and it might be good enough for them.
high_na_euv•9m ago
"for Rust program"?
Isnt it more about the grammar than the prog lang?
shevy-java•1h ago
Just about nobody uses WebAssembly. It first appeared almost ten years ago. This is snail-speed evolution at best.
anonymous908213•1h ago
demaga•58m ago
dagi3d•45m ago
miki_oomiri•38m ago
And yes wasm is used wildly. On the web for expensive computation (Google earth, figma, autocad, unity games) or server side for portability and sandboxing (Cloudflare workers, fastly, …)
taminka•35m ago
there is also games, stuff to do with video (ffmpeg built for wasm), ml applications (mlc), in fact it's currently impossible to use wasm w/o js to load the wasm binary
as a result, the web stack is a bit upside down now, w/o the seemingly "low level" and "high performance" parts over the slow bits (javascript)
embedding-shape•15m ago
Yes, tons. Obviously not all, but large parts of these are WASM: https://itch.io/games/platform-web
Tools like Figma are only performant because of WASM.