News for hackers. Stuff that matters.
Re:Ask HN: What tech that's right around the corner are you ... by Yoric on Friday August 04, 2017 @02:33PM (#14930824)
Do you have a 15 seconds explanation on how that's going to be much better than WebGL?
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.

Re:Ask HN: What tech that's right around the corner are you ... by noiv on Friday August 04, 2017 @02:45PM (#14930933)
ELI7: WebGL crunches numbers fast to end up as pixels, WebGPU crunches numbers fast to end up as numbers again.
Re:Ask HN: What tech that's right around the corner are you ... by Yoric on Friday August 04, 2017 @02:47PM (#14930948)
Got it, thanks for the clear explanation.

So this means that we'll soon have web ads mining bitcoins using our GPUs, right? :)

Re:Ask HN: What tech that's right around the corner are you ... by devrandomguy on Friday August 04, 2017 @03:28PM (#14931314)
That was already a thing, for a while. https://bitcointalk.org/index.php?topic=9042.0

Can't tell if they are "honest" people who closed shop when they realized how bad their idea was, or if they just threw smoke and went dark.

Re:Ask HN: What tech that's right around the corner are you ... by noiv on Friday August 04, 2017 @04:30PM (#14931976)
Well, that's one thing. Google "Large Scale Distributed Deep Networks" for another.
Re:Ask HN: What tech that's right around the corner are you ... by arnioxux on Friday August 04, 2017 @06:22PM (#14932852)
Already happening! This came up a few days ago: Tensorflow implemented with webgl: https://news.ycombinator.com/item?id=14894653