For user facing applications there remains the question of what sort of cross platform UI framework could accompany WASM. Or should WASM just remain coupled to the Web? Java’s UI solutions were often received very poorly and led to Java’s bad reputation amongst consumer software.
Analyzing the desires and goals of the big players (Google, Microsoft, Apple) with regards to how Wasm might develop is interesting.
Agreed, but want to add wrt tied to Java the language, that stdlib it carries around is a large burden too. WASM will need a stdlib one day or suffer portability, so here's to hoping whichever one is adopted is small and simple (no, posix is not good enough like emscripten and this lib work with).
It doesn't need one stdlib as part of the WASM project, but sooner or later people are going to want to share, e.g. a socket. Even without a full blown stdlib, known data types need to be shared beyond just the structs that are coming with the GC proposal.
If Webassembly wants to remain as agnostic as possible, I don't think there's much more complexity they could add.
Hopefully they get it right, because the JS ecosystem is a bloated mess that we've been stuck with because there's no other game in town.
I wouldn't like running closed binaries with monolithic architectures through my browser. Maybe for a few selected high performance applications.
Not because the security aspect but I think it will be detrimental to an open web. Maybe not, we'll see.
edit: I don't really understand people that are not horrified by the thought of replacing general javascript code with one that is written in c/c++... Because string operations are awesome in these languages, right?!
Plenty of people want it to be a complete replacement for javascript, but I don't see that happening. I certainly don't think the doomsday scenarios that sometimes get mentioned whereby the entire web becomes nothing but closed, DRM ridden WASM binaries is likely. Large corporate owned sites and streaming services will almost certainly leverage it as much as possible, though.
"closed binaries in the browser" have existed since the days of Java applets and Flash. And no one is stopping anyone from providing or distributing the source for their webassembly modules, so I don't see webassembly as being any less free in that regard than any other language that compiles to a binary. Arguably, webassembly is more free because it isn't owned by a company or restricted to a single language.
That it what I was thinking about and it is something I wouldn't want to get back to. And having javascript as compile target would net you a more readable and therefore more open code. Painful process, sure.
But yeah, for specialized application webassembly could very well be worth it.
Javascript and C for example are like completely distinct circles of friends and you don't necessarily want them to meet each other.
I'm not sure where the hate for this comment is coming from though given the submission is also talking about adding a runtime into kernel space.
"Writing Solaris Device Drivers in Java"
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.92....