News for hackers. Stuff that matters.
Re:WebGPU is now available on Android by ladyanita22 on Thursday January 18, 2024 @06:37PM (#39049529)
Can you have an electron app without HTML elements? A pure WebGPU + Webassembly program?
Re:WebGPU is now available on Android by jay_kyburz on Thursday January 18, 2024 @09:34PM (#39050941)
YEah, but why wouldn't you want HTML CSS to render your ui.

I'm going to revisit electron / nw.js for games again this year. Last time I tried 4-5 years ago I could not get smooth animation with request animation frame.

Re:WebGPU is now available on Android by hutzlibu on Friday January 19, 2024 @01:50AM (#39052342)
Performance.

I recommend pixijs.

But it depends what you do, smooth animations of some elements is possible with html. But in my case it got complex and html was the bottleneck. Now I have the same assets in Pixi and it runs around 100× faster. No more lags, no stuttering. No more html.

(Allmost, some static content is still HTML, but that is fine, as long as the DOM does not get modified)