News for hackers. Stuff that matters.
Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by zaarn on Tuesday May 28, 2019 @03:33AM (#20028009)
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)

Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by AnIdiotOnTheNet on Tuesday May 28, 2019 @08:14AM (#20029271)
> It no longer matters if your language supports PowerPC, Power8, x86, x86_64, ARMv5 through v8 or even more exotics

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.

Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by zaarn on Tuesday May 28, 2019 @08:21AM (#20029316)
For innative it matters what LLVM supports and LLVM supports already dictates the support of many programming languages atleast as a superset (Rust and Go support a subset of what LLVM supports), I don't see how this is "one more layer of abstraction will fix the whole mess" when it reuses existing abstractions.
Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by her_tummy_hurts on Tuesday May 28, 2019 @03:14PM (#20033352)
WASM is based off of a specification, so compilers target the spec instead of an individual runtime.
Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by fanf2 on Tuesday May 28, 2019 @05:33AM (#20028522)
Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by zaarn on Tuesday May 28, 2019 @05:52AM (#20028605)
Doubtful considering how much work is being done around WASM.
Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by pjmlp on Wednesday May 29, 2019 @01:36AM (#20037098)
Usually being hyped by people that apparently don't know the history of bytecode formats since the early 60's.
Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by zaarn on Wednesday May 29, 2019 @02:40AM (#20037383)
I'm well aware of the history of bytecode formats, Java was pretty successful for a while, even managed to get in the Browser and only failed there due to a lack of a DOM Interaction story and similar integration problems.

There is already plenty of companies that deployed WASM on their stack (like Ebay, they use Wasm for their barcode scanner), it's not going away any time soon.

Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by pjmlp on Wednesday May 29, 2019 @04:16AM (#20037826)
Re:InNative: Run WebAssembly Outside the Sandbox at 95% Nati... by zaarn on Wednesday May 29, 2019 @04:28AM (#20037893)
The CDAPI barely worked when it was released. It worked but poorly to the point that the Java Devs would have better not bothered at all. It's such a poor story for DOM Interaction that it effectively does not exist. Everyone prefered to use some UI library to render UI themselves.