Hacker GitHub

← All repos

gfx-rs/wgpu-native

View on GitHub ↗ ★ 1,419 Rust

Native WebGPU implementation based on wgpu-core

9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2021-10-18 · latest 2025-11-22

Mentions per year 9 mentions · busiest year 2024 (3)
20082026
  1. …unified headers and a C library that the maintainers have written as a wrapper around the library. https://github.com/gfx-rs/wgpu-native https://github.com/eliemichel/WebGPU-Cpp
  2. …a wrapper over wgpu-native [2] which is written in Rust. 1. https://github.com/pygfx/wgpu-py 2. https://github.com/gfx-rs/wgpu-native
  3. ▲ 2
    Native WebGPU implementation based on wgpu-core
    story by Bluestein · 2024-09-04 · 0 comments
  4. This seems like a good case where you want to be using wgpu ( https://github.com/gfx-rs/wgpu-native ) rather than raw webgl so that you can easily upgrade people to webgpu in the browser and Vulkan on desktop in order to render with less…
  5. …detail at it yet) the official webgpu.h header. For instance all examples in here are written in C: https://github.com/gfx-rs/wgpu-native/tree/trunk/examples There's definitely also people using wgpu from Zig via the C bindings.
    comment by flohofwoe · 2024-08-30 · in SDL3 new GPU API merged
  6. …It's also possible to use wgpu-native in C/C++ projects as prebuilt library, see: https://github.com/gfx-rs/wgpu-native
    comment by flohofwoe · 2023-11-11 · in Capturing the WebGPU Ecosystem
  7. …on it but, ironically, wgpu with wgpu-native might be easier to get started with, even with C/C++. https://github.com/gfx-rs/wgpu-native/releases/latest has ZIPs with Windows DLLs and headers.
    comment by vore · 2023-11-11 · in Capturing the WebGPU Ecosystem
  8. You can use wgpu with C++ via https://github.com/gfx-rs/wgpu-native
  9. WGPU is the underlying implementation for WebGPU in Firefox and it has C bindings: https://github.com/gfx-rs/wgpu-native.git .
    comment by YmiYugy · 2021-10-18 · in Learn Wgpu