4 ms·
WASM's Turing complete, so yes of course you could. (Maybe minus some features.) The question would then be, is the mapping straightforward or you do need to r
by striking 10y ago
WASM's Turing complete, so yes of course you could. (Maybe minus some features.)
The question would then be, is the mapping straightforward or you do need to reimplement everything from scratch?
- tdb7893 10y agoThe horrifying thing about WASM is that you just know like 5 years from now someone will be posting some link here about how they ported the JVM to WASM and are using it to run old Java applets…
- lotyrin 10y agoI'd be surprised if it took that long.
- amelius 10y agoYes, if there's a compiler that compiles from C/C++ to WASM, then it should be possible, I suppose.
- pjmlp 10y agoOr flash
- bbcbasic 10y agoActiveX
- amaranth 10y agoThere is already PyPy.js using asm.js, doppiojvm which is written in JavaScript, and some effort on getting OpenJDK and/or JamVM to work on asm.js. I don't think you'll have to wait 5 years.
- tdb7893 10y agoI imagine people will use it on the desktop apps and soon everything will just be running with WASM! It sounds like it has the potential to unify web development with development on all platforms if it is efficient enough. EDIT: I didn't think I would be excited about WebAssembly but I'm now really curious to see what happens with it.
- baq 10y agothe browser is a game engine with beefed up security, to quote servo. webassembly is the end game of scriptability of that engine. what you say about app development being unified is already true: see atom, steam and all others who embed webkit or similar to create a desktop UI.
- amelius 10y agoHow about threading? And a concurrent garbage collector? Would it be possible to code these things in WASM?