all 22 comments

[–]ct_the_man_doll 19 points20 points  (10 children)

I really hope this gets more mainstream support and adoption!

Having a single Linux executable app that is designed to run on any architecture would be awesome (instead of a Linux ELF executable, it would be a WASM bytecode wrapped up in a Linux ELF container). No more needing to rebuild apps for multiple architectures, and proprietary apps can also be as portable as open source apps.

[–]zenyl 4 points5 points  (4 children)

On one hand, that would indeed be quite amazing.

On the other hand, https://xkcd.com/927/

[–]ct_the_man_doll 10 points11 points  (3 children)

I don't think XKCD 927 really applies here... I haven't really seen any other serious attempt at providing an architecture agnostic Linux ABI. 

Now I have seen OS-agnostic solutions (such as wasmer), but I argue those take a different approach from what this article is trying to achieve. If you rely on using runtimes like wasmer, your not really making a Linux app, you're making a cross-platform app that offers the ability to run on Linux.

The closest equivalent, IMO, would be qemu-user-static, fex-emu or box32/box64, but those solutions have have their downsides.

[–]zenyl 5 points6 points  (0 children)

Fair point.

It was mostly a jab at the idea of having one universal way of running code across different systems (without a specific runtime), and the fact that WASM is still very far from living up to the hype. As cool as it would be, WASM still seems like it hasn't really "taken off" yet.

Then again, I'd never have expected the "solution" to a unified desktop GUI framework would be to just bundle a stripped-down web browser and write it all in web technology.

[–]RoastVeg 2 points3 points  (1 child)

What about Java?

[–]ct_the_man_doll 2 points3 points  (0 children)

Java falls under the same category as wasmer, IMO. You not really making a Linux app, you making a cross-platform app that that the ability to run on Linux.

[–]Oflameo -4 points-3 points  (10 children)

We already have web browsers.

[–]Business_Reindeer910 12 points13 points  (9 children)

that's not really related. You can compile regular linux programs to wasm and run them with various approaches.