WebAssembly is nice and all, but I don't understand why Mozilla is so obsessed with this feature that will be useable by 0.01% of applications. Meanwhile they are falling far behind in a variety of features that are useful to a much bigger % of the web. Safari and Edge have leapfrogged Firefox in providing the important things to web developers.
> useable by 0.01% of applications. I think you will be surprised how many apps will use WASM in the future. I'm a C++ dev and working with WASM (and asm.js as a fallback) full time. It's going to be absolutely huge.
WebAssembly: Mozilla Won
251–260 of 375 posts
Re: WebAssembly: Mozilla Won
#252Earlier quoted context omitted.
Compressed download size is indeed only slightly smaller (mostly around 10%), but the parsing is much faster, even noticeable for fairly small demos. (edit: replied to the wrong comment, apologies)
Is the "parsing" what is displayed as "compile script" in Chromes profiler? That seems to take almost zero time. For example jquery.min.js compiles in 0.1ms here.
Re: WebAssembly: Mozilla Won
#253Also, wasn't asm.js just a subset of JS? This line confuses me:
> asm.js and PNaCl represented quite different visions for how C/C++ code should be supported on the Web
Yes you could compile C to asm.js, but it would still be compiling it to JS at the end of the day. WebAssembly is completely different in that regard.
Re: WebAssembly: Mozilla Won
#254Earlier quoted context omitted.
Agreed with everything but your first sentence. MS was a much bigger impenetrable monopoly and the Web was won back. It can be done again. Having a great product and grassroots evangelism certainly help. (Not that I think Chrome is THE ENEMY. It's constantly evolving, multiplatform and open source. IE was none of that. But I agree Google's practices you described are despicable. Huge kudos to VLC for doing the right…
Whoa. Internet Exploder was constantly evolving and multi-platform. Did you forget IE ran on PPC Macs, X86 Macs, Windows, and CP/M? IE updated... just slower than Netscape.
Re: WebAssembly: Mozilla Won
#255Keep in mind nacl/pnacl, as a more mature technology, is ahead of WebAssembly wrt features, such as threads, simd, etc. I know these are coming to WebAssembly, but who knows how long it'll take.
Chromium is refocusing on WebAssembly
Re: WebAssembly: Mozilla Won
#256Earlier quoted context omitted.
That's not really true. With JS glue code (including many libraries already written) Wasm modules can access anything JS can do. E.g. there are Wasm demos showing access to WebGL2, audio generation, camera/microphone, HTTP, storage, gamepads, ...
> E.g. there are Wasm demos showing access to WebGL2, audio generation, camera/microphone, HTTP, storage, gamepads, ... All web API. nothing a Javascript app in the browser can't do.
Re: WebAssembly: Mozilla Won
#257Earlier quoted context omitted.
> Meanwhile they are falling far behind in a variety of features that are useful to a much bigger % of the web Do tell...
Too many to name, really. is one that immediately comes to mind.
Re: WebAssembly: Mozilla Won
#258Earlier quoted context omitted.
I don't really understand what "the compiler is trusted" means. What could an evil compiler really do? Maybe add a spinning loop to waste CPU cycles, but that can be done in JS too.
The question reminds me of Ken Thompson's Turing Award essay, Reflections on Trusting Trust , http://www-inst.eecs.berkeley.edu/~cs161/fa08/papers/p761-th...
Re: WebAssembly: Mozilla Won
#259Earlier quoted context omitted.
Enter it in the search bar instead? Not trying to be snarky - but that's why Firefox offers both, so you can be explicit about your intent.
Yeah, wondering the same. Is there an advantage to type it into the address bar? Maybe a faster key combination or something?
Re: WebAssembly: Mozilla Won
#260It's worth pointing out that Mozilla can only continue to put pressure on Google and fight for the open web if people continue to use Firefox and support them. Consider switching to Firefox even if you prefer Chrome. Report websites that don't support FF. We are all better off for the existence of Mozilla, and strong viable competition to Chrome and IE.
At my house (ubuntu gnome), windows firefox on wine is the only way I have found to access some webTV based on flash.