Great. We will soon have an entire JVM running inside each browser's tab, just to run an animated slider. Maybe even more than one. Plus a .NET VM, several Python and Ruby interpreters, and so on. Because webmasters will keep loading ready-made plugins from CDNs, exactly like they are doing now, except that the new generation of web software will carry their own interpreter or runtime with them, because the developer…
WebAssembly support now shipping in all major browsers
111–120 of 346 posts
Re: WebAssembly support now shipping in all major browsers
#112Ok, now we need GC and DOM interop. Because reinventing layouts is pain.
Re: WebAssembly support now shipping in all major browsers
#113Earlier quoted context omitted.
Red herring. People install or explicitly download code they want to run. The general public doesn't even realize that most web pages are full of code (js not html) and most developers have gotten so used to it they feel entitled. The goal should be to try harder to use less code, not enable native execution. I understand, engineers like to think about what is possible (wouldn't it be cool if..!) but sometime they ne…
99%+ of people don't think like you and don't care about the distinction between code on the browser and code on the OS. "A red herring is something that misleads or distracts from a relevant or important issue. It may be either a logical fallacy or a literary device that leads readers or audiences towards a false conclusion." I don't see how my comment is a red herring. Computers are for running code. That's what th…
This may not be what OP meant.. but it's something I can agree with to a degree. I love web apps, don't get me wrong, but I wish we had meaningful fallbacks for those who want content without features.
Re: WebAssembly support now shipping in all major browsers
#114Earlier quoted context omitted.
WASM is used to run native code in the Web browser without going through JavaScript. With it, it should be possible to run code at near-native performance in the browser. WASM is an intermediate representation which is output by your compiler (of your favorite language) and consumed by the browser's compiler to emit native code. WASM is a bit similar to LLVM IR, but it's architecture independent. Compare this to, say…
But is this how it is implemented by actual browsers? if memory serves v8 is pretty much reusing most of JS VM for WASM?
Re: WebAssembly support now shipping in all major browsers
#115Unfortunately SIMD is still not supported on any browsers and with the move away from SIMD.js it looks like this might take a while. We've been working on porting over our fairly large barcode scanner library to WebAssembly. While the performance is close to what we have on other platforms ( http://websdk.scandit.com ), the major bottleneck for now is not being able to use optimized code relying on SIMD (and not havi…
Re: WebAssembly support now shipping in all major browsers
#116Can't wait for DOM interop and get away from JS on frontend. Seriously JS should not be the lingua franca of the web :)
>> Seriously JS should not be the lingua franca of the web But neither should this. Really, keep your code off my computer as much as possible.
Re: WebAssembly support now shipping in all major browsers
#117For those in the know, what doors is web assembly expected to open? Better cross platform platforms via a browser wrap? Will new types of browser applications be possible that aren't now in JS only world? What are they?
That's the plan. That "interfaces actual HTML" thing isn't available yet, but you can already hack around it.
Re: WebAssembly support now shipping in all major browsers
#118Earlier quoted context omitted.
In order to port other languages (Haskell, Go, Python) to target WASM, we definitely need the possibility of writing a GC in WASM. But to build an efficient GC, we need multithreading and synchronization/memory barrier primitives.
Multi threading brings in all kinds of security issues
Re: WebAssembly support now shipping in all major browsers
#119Do any mobile browsers support it yet? The article is unclear.
Safari does on iOS 11: https://webkit.org/blog/7956/new-webkit-features-in-safari-1... https://developer.apple.com/library/content/releasenotes/Gen...
I recently discovered that while Safari supports WebRTC, a "WebView" or a safari view that is added to the home screen does not.
Re: WebAssembly support now shipping in all major browsers
#120For those in the know, what doors is web assembly expected to open? Better cross platform platforms via a browser wrap? Will new types of browser applications be possible that aren't now in JS only world? What are they?
For example imagine being able to run a full self hosted C++ compiler itself from a browser on any device with a browser.