Re:Ask HN: What tech that's right around the corner are you ...
by rl3 on Friday August 04, 2017 @02:57PM
(#14931039)
Sure. WebGL is a sandboxed subset of OpenGL ES 2.0, and WebGL 2 is similarly a derivative of OpenGL ES 3.0.
While both of those APIs offer nearly full programmability, they do so with an API structure that retains a ton of legacy cruft from the days of fixed-function pipelines. Neither are low-level graphics APIs; many assumptions are made. This makes doing general purpose compute tasks on WebGL extremely hacky at best.
Think of WebGPU as Vulkan or Metal for the web. Lower level with much more work, but ultimately cleaner with superior performance and capability.
While both of those APIs offer nearly full programmability, they do so with an API structure that retains a ton of legacy cruft from the days of fixed-function pipelines. Neither are low-level graphics APIs; many assumptions are made. This makes doing general purpose compute tasks on WebGL extremely hacky at best.
Think of WebGPU as Vulkan or Metal for the web. Lower level with much more work, but ultimately cleaner with superior performance and capability.