News for hackers. Stuff that matters.
Re:Portability benchmark of Dota2 on MacOS by daniel_rh on Friday August 10, 2018 @01:32PM (#17735228)
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.
Re:Portability benchmark of Dota2 on MacOS by grovesNL on Friday August 10, 2018 @01:56PM (#17735432)
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.

Re:Portability benchmark of Dota2 on MacOS by steveklabnik on Friday August 10, 2018 @01:56PM (#17735430)
They currently have support through the emscripten target, and (as far as I know) are working on support for the unknown target.