Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Game developers are not going to start mass adopting a JavaScript API.


WebGPU is not JavaScript only: https://eliemichel.github.io/LearnWebGPU/


Does it really work well for other use cases? Obviously you can call it, but typically a web API has many more security issues to handle than a native API, so I'd expect there to be a lot of compromises a game developer wouldn't want to deal with.


Yes. The non-JS interfaces are Dawn (C++) and wgpu (Rust). The Bevy game engine uses wgpu and I think many others will do the same. You can't really generalise from "typical web APIs" in the way that you have.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: