News for hackers. Stuff that matters.
Re:Show HN: Free e-book about WebGPU Programming by danroc on Monday August 05, 2024 @10:15AM (#41161559)
Nice work! Thank you for sharing.

I'd like to get excited about WebGPU as well, but I am lacking enough imagination here. Games? 3D animations? What else beyond these obvious applications?

Those who are excited about it: why? what are you planning to build with it?

Re:Show HN: Free e-book about WebGPU Programming by beardyw on Monday August 05, 2024 @11:56AM (#41162515)
I got interested in 3D animation so I took a look at this stuff. I quickly retreated to the safety of three.js!
Re:Show HN: Free e-book about WebGPU Programming by gizmo on Monday August 05, 2024 @10:28AM (#41161675)
Webgpu makes sense for anything that needs to render quickly or that needs a lot of control over how things get rendered.

A slideshow program with custom font rendering & line wrapping and nice shader based transitions between slides for instance.

Even something like a terminal/tty is much nicer when it renders at > 60fps with smooth scrolling. Very hard to do with DOM nodes.

Because of the web a generation of programmers has forgotten how fast and responsive applications can be. Webgpu can make the web feel fast again.