HN2new | past | comments | ask | show | jobs | submitlogin

Does this abstraction target WebGL as well? I could imagine it being a nice portability layer for web-aware apps since rust can easily target wasm with a few compiler flags.


Ideally this should be straightforward by adapting the OpenGL ES backend to perform the equivalent WebGL calls. There have been some initial investigations into this already, and the Emscripten target worked well with an earlier version of gfx.

In the future there could be a backend to target WebGPU (https://www.w3.org/community/gpu/) as well.


They currently have support through the emscripten target, and (as far as I know) are working on support for the unknown target.




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

Search: