News for hackers. Stuff that matters.
Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by FL33TW00D on Tuesday April 23, 2024 @05:04PM (#40137237)
Oh look it's subgroup support landing last week: https://github.com/gfx-rs/wgpu/pull/5301
Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by jsheard on Tuesday April 23, 2024 @05:08PM (#40137273)
That's a wgpu-specific extension, not part of the actual WebGPU spec, so you can't use it on the web.

https://github.com/gpuweb/gpuweb/blob/main/proposals/subgrou...

There is a proposal for supporting subgroups in WebGPU proper but it's still in the draft stage.

Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by FL33TW00D on Tuesday April 23, 2024 @05:24PM (#40137469)
I'm aware. It is an implementation of the linked proposal.

The `wgpu` implementation linked will make its way into Firefox eventually. Dawn will follow up with a similar one for Chrome.

I was linking it to demonstrate there are no technical hurdles and it's only really approval remaining.

Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by sp332 on Tuesday April 23, 2024 @08:14PM (#40138919)
Ok, but that's not what "landing" means.
Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by pjmlp on Tuesday April 23, 2024 @05:24PM (#40137479)
Native extensions unusable on Web browsers don't count.
Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by littlestymaar on Tuesday April 23, 2024 @05:47PM (#40137729)
Then nothing involving WebGPU counts since it's not implemented on other browsers than Chromium and not on Linux even in Chromium…

WebGPU is brand new, and the paint is still wet. It doesn't make sense to dismiss things that haven't landed in browsers yet as “unusable on the web”.

Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by mr_toad on Tuesday April 23, 2024 @08:59PM (#40139234)
There’s an advanced setting in Safari to enable it, but I can’t say how well it works. In this instance it doesn’t.
Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by senorrib on Tuesday April 23, 2024 @09:54PM (#40139568)
It doesn't work at all. Doesn't even exist in Safari anymore because they ditched the old implementation and are rewriting everything.
Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by FL33TW00D on Wednesday April 24, 2024 @06:00AM (#40142473)
Multiple engineers are working on adding it back: https://github.com/WebKit/WebKit/pulls?q=is%3Apr+is%3Aclosed...
Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by pjmlp on Wednesday April 24, 2024 @01:23AM (#40140885)
Welcome to Web standards, and Google's ChromeOS transformation of the Web, with help of many Web developers out there.

Doesn't change the fact that is a Web standard, for Web browsers.

Re:GPU Compute in the Browser at the Speed of Native: WebGPU... by littlestymaar on Wednesday April 24, 2024 @02:02AM (#40141150)
It is a WIP web standard. And the spec is still evolving most things are stable at that points, but new features are still being added, like this one!).

And that's how the web works, it was the same for WebRTC which spent 2-3 years in such a state, same for MSE, etc.