4 ms·
There is a native API too, not just JS. You can link it into your game like any other library.
by bla3 2y ago
There is a native API too, not just JS. You can link it into your game like any other library.
- solardev 2y agoI'm confused now. I thought by definition it's a browser API that allows them to make Vulkan/OpenGL/DirectX calls, like an abstraction layer. Am I wrong? Edit: wgpu is a reimplementation of the WebGPU api for use with desktop apps outside of browsers. See sibling thread by another poster for an explanation: https://news.ycombinator.com/item?id=40598416 https://news.ycombinator.com/item?id=40598416
- MindSpunk 2y agowgpu isn’t a reimplementation of WebGPU, it’s Firefox’s WebGPU implementation. It also conveniently runs outside of a browser and is accessible with a Rust or C API. You can also do the same thing with Dawn, which is Chrome’s implementation of WebGPU.
- solardev 2y agoThanks for the correction!