this post was submitted on 11 Feb 2025
10 points (77.8% liked)

Programming

18422 readers
603 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 2 weeks ago* (last edited 2 weeks ago)

To answer the headline question:

  • because wasm fast

(the rest of the points are debatable)

[–] [email protected] 10 points 2 weeks ago (1 children)

It's also a compiled blob, which is wonderful news if you were developing closed source software. You don't have to work around javascript with pesky obfuscation tricks to protect your intellectual property anymore! ♥️

[–] [email protected] 11 points 2 weeks ago* (last edited 2 weeks ago)

Every program is "open" source if you know how to use a decompiler.

[–] [email protected] 9 points 2 weeks ago

The image is very high persfonmance mangled AI mess

[–] [email protected] 2 points 2 weeks ago

WASM in the browser is cool but I think WASI is going to be the big game charger to come out of WASM

[–] [email protected] 1 points 2 weeks ago

the future of complex web apps*

I can see in-browser games and containerized desktop application benefiting from wasm, but simple ecommerce sites without all the fluff can be just as performant with SSR or a multi-page application. For instance several years ago I built the frontend and middleware for the Hart Tools and Ryobi Tools websites using Nuxt for SSR and Algolia for the search. Images are the majority of CPU and network load and the websites are snappy as a result. Even this tech stack is overkill for what the websites need to do but my point is for general use case this or a similar tech stack won't benefit from introducing wasm.