Hacker News new | ask | show | jobs
by zorgmonkey 409 days ago
The biggest difference for you is probably that WebGPU has compute shaders and WebGL does not, they are pretty nice if you want to implement more complex algorithms.
1 comments

That's true. But current shaders are very simple. The big issue I have with WebGPU is that it's still not supported by all browser (see Safari) while WebGL is nowadays everywhere.

I work on a MacBook and I need to make sure that at least Safari (soooo many issues/ bugs/ specific behaviours it drives my crazy) works fine

I don't have a mac, but my understanding is that Safari Technology Preview [0] has WebGPU support (might need a change a setting too).

[0]: https://developer.apple.com/safari/technology-preview/