4 ms·
wgpu has a wgpu-native component which is a native library that exposes a C API. I use it in D for my 3D projects and it's quite nice.
by skocznymroczny 5y ago
wgpu has a wgpu-native component which is a native library that exposes a C API. I use it in D for my 3D projects and it's quite nice.
- pjmlp 5y agoI don't see any reason for WebGPU outside of the browser, we already have middleware engines that can take advantage of latest Vulkan/DirectX 12/Metal/LibGNM/NVN features, without being castrated in capabilities.
- skocznymroczny 5y agoCompile to WASM is a popular thing nowadays. It's enticing to be able to write your app in native WebGPU and then with almost no changes in code be able to compile your app to the web browser.
- pjmlp 5y agoFashion driven development more likely.
- kvark 5y agoIt’s true that WebGPU native could be seen as just another middleware. However, what differentiates it is: 1. Well-thought API with an actual standard 2. Large conformance test suite 3. Trivial deploy on the Web
- adamnemecek 5y agoWhich engines are you referring to?