this post was submitted on 18 Sep 2025
59 points (100.0% liked)

Programming

24065 readers
321 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] JakenVeina@midwest.social 25 points 3 months ago* (last edited 3 months ago) (2 children)

These all sound like good improvements to WASM as a binary target, but... how do we STILL not have access to any kind of I/O? How is that not the #1 priority? No access to the DOM, no access to local storage, no access to networking... WASM will continue to be borderline useless until it can actually do the things an application needs to do, without having to implement some hackjob JS interop layer.

[–] Solemarc@lemmy.world 15 points 3 months ago

I/O and stuff like that is being done in the WASI proposals not in WASM proper. I believe most of this stuff is waiting for initial implementations at this point and then it becomes a proper standard.

[–] MrScottyTay@sh.itjust.works 13 points 3 months ago

I hate having to use js interop for simple stuff like manipulating the history stack or even just saving to the clipboard

[–] meaansel@lemmy.world 1 points 3 months ago (1 children)

On GC With no virtual memory, memory fragmentation is a possibility on wasm targets It's funny that for memory management you either have to deal with fragmentation like it's a microcontroller (or 90s) or a fully blown garbage collection.

I mean, don't get me wrong, having GC is perfectly reasonable. Every other language was gonna (and currently does) implement it anyway - so might as well lower it into native code.

[–] meaansel@lemmy.world 1 points 3 months ago* (last edited 3 months ago)

...But i fell like a case for memory management usually provided by system and cpu for low-level languages is just as strong (couldn't edit comment above for some reason)