Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

WebGPU is irrelevant :

- iOS still doesn't support webgl 2.0 and webgl 1.0 is ancient

- browsers suck for 3D content in other ways too (slow load times, impossible to controll cache/asset loading/storage, etc.)

- the above sucks even more when you are on limited connectivity/offline

- wasm load times also suck

- browser input is terrible for 3D

A lot of these could be fixed by providing some APIs but it's not in Apple interest to give you the tools to bypass their appstore tax. And web standards take forever to develop. I lost enthusiasm about webgl back in 2016 when it was already ancient and showing no signs of fast cross browser adoption.



Apple enabled WebGL 2.0 by default as of iOS 15.0, and Apple was the company who proposed WebGPU to the W3C (which was its own news story because Apple started the debate over shader language)


That's interesting, I had no idea they were the ones that proposed it. Everything I've read paints them as the odd one out, since they're going their own way with Metal and not Vulkan.


What they initially proposed was essentially WebMetal. Their likely reasons for doing so were to force a change in venue to W3C instead of Khronos, and preempt any attempt at a WebGL 3 or WebVulkan, due to their ongoing legal dispute with Khronos (also the reason they deprecated OpenGL).


I didn't know that, nice it only took them 4 years.

WebGPU is like I said irrelevant since the platform is not enabling for these kinds of apps.


iOS supports WebGL 2.0 now.

"browser input is terrible for 3D" doesn't make sense. The web version of game streaming services like Stadia use browser input and they work fine.

Offline storage of gigabytes of assets is tough, that's a valid criticism. But that is not a deal breaker for many applications. Hopefully we'll see more movement on this.

A lot of the load time issues with web games are just bad software architecture and can be solved by the same techniques web developers use: breaking assets and code into modules loaded on demand instead of giant monolithic wasm binaries or asset packs.


> - iOS still doesn't support webgl 2.0 and webgl 1.0 is ancient

Right, it supports Metal and all the WebGPU implementations right now are using Metal. Apple was in fact the driving force behind WebGPU.

I see where they are coming from, opengl (including webgl) is such a clusterfuck.


Agree, unfortunately Vulkan seems to repeat all the mistakes regarding tooling, extensions and expecting the community to come up with SDK like solutions, only at lower level, so a newbie suffers much less with OpenGL, despite its warts.


Exactly this. I've been trying to get a handle on Vulkan and it's just _dense_. The way it's written I feel like you basically have to understand GPUs inside and out to use it. There's no such thing as a 'reasonable default' to it. WebGPU is a bit better, but still quite dense. We absolutely need a standardized higher level interface to the hardware, but like you said, that's not what Vulkan is.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: