|
|
|
|
|
by zaarn
2576 days ago
|
|
You're not confined by the instruction set below. It no longer matters if your language supports PowerPC, Power8, x86, x86_64, ARMv5 through v8 or even more exotics. Similar to the Java VM, which definitely showed the advantage of being more easily portable, it decouples the binary you deploy from the actual hardware. Rust and Go have support for many targets but not as many as other compilers (GCC), a coverage problem that can be fixed by using WASM as intermediate and porting a WASM Runtime to that architecture. Something like Innative would also enable desktop applications to be independent of the OS and architecture. The same binary would run on x86_64 Windows, PowerPC Mac and ARMv8 Linux. It's basically Java but you don't have to use Java to get all the good parts. (Disclaimer: I know the main dev of innative and do some WASM work myself) |
|
Yeah, instead it matters which WASM runtimes it supports and which archs those runtimes support.
But that's ok, we just need one more layer of abstraction to fix the whole mess.