I am surprised by the memory and 32 bit limitations... Are there plans to overcome them?
Edit: found it, https://github.com/WebAssembly/memory64
I am surprised by the memory and 32 bit limitations... Are there plans to overcome them?
Edit: found it, https://github.com/WebAssembly/memory64
Those are its two strongest features, not bugs. If you're not going to respect those, just use native code, and the broken ambient authority model of computing, which never works out in the long run.
Edit: The article doesn't focus much on these limitations, but I think that putting up with the current limitations of WASM in terms of memory size or lack of threading might suck, but it's worth the ability to just try things out and run them without risking your whole computer.
Younger folks who never had a PC with only write protectable floppy drives missed out on a wonderful care-free period when you could just TRY OUT any new software, and your other data was safe, no matter what.
This goes so far now with sandboxing and virtual machines. I think the experience spawning VM to run and test new software is annoying but I guess it is still better than the annoying stuff from that era.
Disclaimer: I am one of those younger folks and probably naive in terms of that era.
We were living in an era where floppy disks were so much faster than punch cards, paper tape, cassettes, or just typing in programs after boot.
VMs and Sandboxes get close, but there's always the danger of virtual machine escape. WASM should be able to get us there, if we can keep people from wanting to make it Posix compatible and giving it file/network access.
It's equivalent to handing your wallet to the cashier any time you make a cash transaction... which nobody does except as a last resort in extenuating circumstances.
AFAIK the downside of wasm64 is that it cannot use some virtual memory tricks to get rid of software range checks, so if memory access performance matters and a large address space isn't needed it probably still makes sense to stick with wasm32 even when wasm64 is available.
PS: see discussion here: https://github.com/WebAssembly/memory64/issues/3