Learn WebGPU for C++

(eliemichel.github.io)

30 points | by ibobev 2 hours ago

2 comments

  • torlok 1 hour ago
    I maybe be a complete moron not familiar with Github, but I wanted to have a look at the code and it took me solid 5 minutes of going through the website searching for a link to the repository, and the only one I eventually found was when I scrolled to the bottom and clicked the Github icon. Removing the path from https://eliemichel.github.io/LearnWebGPU/index.html leads to 404, no idea why that doesn't just lead to https://github.com/eliemichel. Don't know if it's just me, but I get unreasonably frustrated by things like this.
    • Rohansi 1 hour ago
      > no idea why that doesn't just lead to https://github.com/eliemichel

      Pretty sure it's because GitHub allows the user to put content at the root of that URL. And it's an entirely separate domain to avoid cookie stealing or whatever.

  • minraws 1 hour ago
    Nicely built resource, found a couple of nits but pretty good starting point.

    Although I feel like unless you need to specifically target web or extensive cross platform support, a better alternative for a higher level framework/library is nvrhi. Especially for C++ developers.

    And I feel like if you are making for cross platform or web you are likely using Rust or writing your own game engine/library maybe I view of the ecosystem is skewed.

    • reactordev 1 hour ago
      nvrhi is pretty freaking awesome but it doesn’t work on Mac. WebGPU can using Metal, nvrhi would need MoltenVK layer on Mac. Other than that, yes nvrhi