News for hackers. Stuff that matters.
Re:New Vulkan Documentation Website by hajile on Wednesday October 11, 2023 @11:10AM (#37845459)
Hopefully, WebGPU will eat all its competition and we can finally have just one standard moving forward.
Re:New Vulkan Documentation Website by flohofwoe on Wednesday October 11, 2023 @11:15AM (#37845548)
Nah, competition is good :)

E.g. without Metal as example of what a modern user-friendly 3D API can look like, WebGPU would probably look very different, and not in a good way.

My personal hope is that the concept of a "3D API" will eventually disappear into compilers like Clang and GCC and their standard libs.

E.g. WebGPU has a pretty big API surface just for ensuring that the CPU-provided data is compatible with what the GPU expects, and any mismatches manifest as runtime errors, not compile-time errors.

Most of this API surface would simply disappear if the same compiler can see both the CPU and GPU side code, integrated into the same compilation process.

Re:New Vulkan Documentation Website by pjmlp on Wednesday October 11, 2023 @01:05PM (#37847145)
Good luck convincing console vendors.