3 ms·
C has to be recompiled per platform. The advantage to something like using WebAssembly is you could write a program in C, compile it to WebAssembly, and then i
by kettlecorn 8y ago
C has to be recompiled per platform.
The advantage to something like using WebAssembly is you could write a program in C, compile it to WebAssembly, and then it could be run on anything that supports WebAssembly.
This could enable a future where you write one program that can run in a web browser, as a phone app, as a desktop program. All with only tweaking the UI.
Additionally the divide between a “web app” and a desktop app from a user perspective increasingly comes down to: do I need this to run fast (as a native program), or do I want it to be convenient to use (as a web app)? WebAssembly may very well become fast enough that it is fast and convenient for all but the absolute most demanding of applications.