2 ms·
I think we are talking about different things, you seem to be talking about the possibility of using WASM as a generic virtual machine in the same vein as JVM -
by badsectoracula 9y ago
I think we are talking about different things, you seem to be talking about the possibility of using WASM as a generic virtual machine in the same vein as JVM - in that case, if there is some sort of runtime that would provide the ability for a program to be made to work both in web mode and offline mode and the developer decides to make their application available through it, then yes it wont be an issue. After all people already do that with JVM, Flash and even ActiveX (which was originally meant for offline use).
But i am not talking about such a use, i am talking about using WASM to create applications that are designed to be part of a web site and meant to be accessible only online - pretty much what the majority of Flash games did previously. The original message i replied to was about web-based applications that are meant to be delivered online so my messages were with the assumption that we are talking about web-based applications pretty much in the same vein as Google Docs or games like the thousands of Flash games you'd see out there some years ago. You wrote "That assumes it would be impossible to download a WASM blob and run it natively" - the possibility to do that would be exactly the same as downloading a JS file and run it natively (in this case i take "natively" to mean running an offline local copy in a browser without any sort of external requirement, like downloading files off the web). I do not see a reason for expecting WASM to be used in any different way.