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

Using the GPU is always interesting, although in my case I want to maintain compatibility with browsers through WebAssembly.

Nowadays, it’s very rare for a user to download and run a binary.



Ignorant question, but I assume that means there is no "browser-facing" or accessibility to the GPU for a web based application in this way (WebAssembled or even otherwise)?


There is WebGPU, but support isn’t widespread yet. Compared to WebGL it does allow you to create compute “shaders”


Yeah, the game I linked to is in Rust/wasm, running solely in browsers :)

The interesting part of the collision detection code is here: https://github.com/dakom/not-a-game/blob/main/src/collision/...




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

Search: