4 ms·
WGPU is a Rust thing more than a Python thing.
by mkl 2y ago
WGPU is a Rust thing more than a Python thing.
- zoogeny 2y agoFair, I was looking at the wgpu-py [1] page but only skimmed it. It does indeed look like a wrapper over wgpu-native [2] which is written in Rust. 1. https://github.com/pygfx/wgpu-py https://github.com/pygfx/wgpu-py 2. https://github.com/gfx-rs/wgpu-native https://github.com/gfx-rs/wgpu-native
- almarklein 2y agoTo clarify this a bit, wgpu is a Rust implementation of WebGPU, just like Dawn is a C++ implementation of WebGPU (by Google). Both projects expose a C-api following webgpu.h. wgpu-py Should eventually be able to work with both. (Disclaimer: I'm the author of wgpu-py)