Re:Show HN: Shadeup – A language that makes WebGPU easier
by pjmlp on Thursday January 18, 2024 @02:48AM
(#39039110)
We could have had that already in WebGL if it wasn't for Chrome team botching Intel's work on OpenGL ES compute shaders being available in WebGL.
https://registry.khronos.org/webgl/specs/latest/2.0-compute/
https://github.com/9ballsyndrome/WebGL_Compute_shader/issues...
Re:Show HN: Shadeup – A language that makes WebGPU easier
by lmeyerov on Thursday January 18, 2024 @03:21AM
(#39039313)
Hah that was me ~12 years ago trying to get WebCL (OpenCL) through the same gate keepers. Meanwhile, in Python, we are doing multi-node multi-GPU. Maybe OpenAI's and soon Apple's success with LLMs will change the economics for them.
Re:Show HN: Shadeup – A language that makes WebGPU easier
by pjmlp on Thursday January 18, 2024 @04:34AM
(#39039786)
Much appreciated for the efforts.
This is why I don't like Khronos APIs, even when actually those are the ones I know relatively well, the way they work end up being a much worse experience than writting backend specific plugins ourselves with much better tooling, also the extension spaghetti ultimately doesn't save us from multiple code paths anyway, given the differences between some of those extensions.
To pick your example, something like PyTorch ends up being a much better developer experience, similar to game engines, than relying on Khronos APIs.
For example: fleetwood.dev has a really cool project that does audio transcription in browser on the GPU: https://whisper-turbo.com/#