Earlier quoted context omitted.
I think browsers should distinguish more aggressively between "web application", "web site", and "user hostile web site". Many APIs should be gated behind being a web application. This itself could be a permission dialog already, with a big warning that this enables tracking and "no reputable web site will ask for it unless it is clear why this permission is needed - in doubt, choose no". Collect opt-in telemetry. We…
Do you have something specific in mind with your opening paragraph? Because defining what is a web site and what's an app, strikes me as particularly impractical idea. You correctly point out that yes, there are a number of powerful APIs that should be behind permissions. But there are a number of permissions already, so we need to start bundling them and also figure out how to present all this to the regular user. F…
Chrome ships WebGPU
331–340 of 405 posts
Re: Chrome ships WebGPU
#332Re: Chrome ships WebGPU
#333Earlier quoted context omitted.
Everything that can be used for fingerprinting should be behind a permission. Almost all sites I use (like Google, Hacker News or Youtube) need none of those technologies.
Main thing that ought to be behind a permission is letting Javascript initiate connections or modify anything that might be sent in a request. Should be possible, but ought to require asking first. If the data can't be exfiltrated, who cares if they can fingerprint? Letting JS communicate with servers without the user's explicit consent was the original sin of web dev, that ruined everything. Turned it from a user-co…
Re: Chrome ships WebGPU
#334Re: Chrome ships WebGPU
#335Earlier quoted context omitted.
Not really. I don't see how any of the vendors could break it without being extremely overt about it. And it has no direct competition. Nothing else runs on any OS and any GPU, except WebGL, which is abandoned.
Vulkan & GLES are both the obvious competition here, I don't know why you seem to be ignoring them?
Re: Chrome ships WebGPU
#336Anyone know the reason Google created Dawn instead of going with Wgpu? Attachment to C++, or NIH syndrome?
What does Mozilla use Spidermonkey instead of V8? Why did Apple create B3 JIT instead of just using Turbofan? Competing implementations are a cornerstone of standards. Indeed in many domains it's a requirement for a spec to have multiple compliant implementations to be considered complete at all.
Re: Chrome ships WebGPU
#337Earlier quoted context omitted.
Why would I want bit-identical output? Genuinely curious. I see there's some increase in confidence perhaps, although the result can still be deterministically wrong...
It's very hard to do tests of the form assert(result == expected) if they're not identical every time. And it can waste a horrendous amount of time if something is non-bit-identical only on a customer machine and not when you try to reproduce it ...
Asserting == with floating point numbers is basically a kind of rounding anyway.
Re: Chrome ships WebGPU
#338This is super exciting for us as we develop interactive browser UIs. I hope future versions of WebGPU will be backwards compatible to all those with Chrome 113. We need an iOS like pace of updating for browsers!
> We need an iOS like pace of updating for browsers! How do you mean? Browsers often update every 6 weeks. IOS releases with new behavior are annual.
Re: Chrome ships WebGPU
#339Now I want to see someone figure out a way to performantly distribute a trillion parameter model on a million smartphones looking at a web page.
The bandwidth would end up costing way more than the compute would.
This is not without precedent, look up how your brain hemispheres and the regions within are connected.
Re: Chrome ships WebGPU
#340Earlier quoted context omitted.
Everything that can be used for fingerprinting should be behind a permission. Almost all sites I use (like Google, Hacker News or Youtube) need none of those technologies.
So CSS should be behind a permission?