Hacker GitHub

← All repos

gfx-rs/wgpu

View on GitHub ↗ ★ 18,443 Rust

A cross-platform, safe, pure-Rust graphics API.

70 mentions on Hacker News by 49 people: 5 stories, 65 comments · first 2019-03-07 · latest 2026-09-30

Mentions per year 70 mentions · busiest year 2024 (20)
20082026
  1. …this also means I get to run head-long into fun cross-platform behavior differences [1][2][3] [1] https://github.com/gfx-rs/wgpu/issues/8785 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1870699 [3]…
    comment by mkeeter · 2026-09-30 · in Testing WebGPU data layouts with Facet
  2. …the WindowServer is long gone. Fun discussion on this PR for wgpu, a Rust implementation of WebGPU: https://github.com/gfx-rs/wgpu/issues/6572
  3. …what's available and the application has to handle it or say it can't. It's all plumbing. [1] https://github.com/gfx-rs/wgpu
    comment by Animats · 2026-07-24 · in Learn WebGPU for C++
  4. ▲ 4
    wgpu v30 has been Released!
    story by bloky · 2026-07-01 · 0 comments
  5. WGPU is a much higher level abstraction layer which itself depends on Ash for Vulkan FFI. https://github.com/gfx-rs/wgpu/blob/trunk/Cargo.toml#L264
  6. ▲ 173
    Build Android apps using Rust and Iced
    story by rekireki · 2025-12-22 · 85 comments
  7. …and your family with the upcoming addition. The project I'm mostly working on uses the wgpu crate, https://github.com/gfx-rs/wgpu , which may be of interest if writing cross-platform GPU code. (Though obviously if using Rust, not Zig).…
    comment by billti · 2025-12-09 · in AMD GPU Debugger
  8. …on desktop that aren't in the standard. For example, they've started working on mesh shaders too: https://github.com/gfx-rs/wgpu/issues/7197 . If you stick to only what's compatible with WebGL2 on the desktop you'd face similar limitations.
    comment by charlotte-fyi · 2025-10-10 · in OpenGL: Mesh shaders in the current year
  9. There are some new interesting developments though: https://github.com/gfx-rs/wgpu/pull/8217 Just sadly not in the spec as mentioned.
    comment by FrankenApps · 2025-10-07 · in WebGPU and the Price of Compiling WGSL
  10. …with dumb hacks like these instead: https://github.com/Rust-GPU/rust-gpu/blob/87ea628070561f576a... https://github.com/gfx-rs/wgpu/blob/bf86ac3489614ed2b212ea2f...
    comment by max-privatevoid · 2025-07-26 · in Rust running on every GPU
  11. …There is a tracking issue[1], although I am not sure how much of that makes it to the browser. [1] https://github.com/gfx-rs/wgpu/issues/6762
    comment by Vipitis · 2025-07-16 · in Shipping WebGPU on Windows in Firefox 141
  12. …https://hackmd.io/PCwnjLyVSqmLfTRSqH0viA https://hackmd.io/@cwfitzgerald/wgpu-bindless https://github.com/gfx-rs/wgpu/issues/3637 https://github.com/gpuweb/gpuweb/issues/380 > Would you like to render high quality lines or points? Sorry,…
    comment by jauntywundrkind · 2025-07-16 · in Shipping WebGPU on Windows in Firefox 141
  13. ▲ 1
    Wgpu - Unified Interface to Graphics APIs: Direct3D 12, Metal, and Vulkan
    story by AbuAssar · 2025-07-16 · 0 comments
  14. Indeed, it doesn't seem to be possible at the moment, see e.g. https://github.com/gfx-rs/wgpu/issues/4067
  15. People have already mentioned Metal, but if you want cross platform, https://github.com/gfx-rs/wgpu has a vulkan-like API and cross compiles to all the various GPU frameworks. I believe it uses https://github.com/KhronosGroup/MoltenVK to…
  16. …is invalid looks like this happens for most of the shaders. edit: seems to be related to this issue https://github.com/gfx-rs/wgpu/issues/5186
    comment by ruined · 2024-12-19 · in Show HN: WebGPU Tech Demo
  17. …and there's Naga project that can translate WGSL to other languages: https://github.com/gfx-rs/wgpu/tree/trunk/naga
    comment by pornel · 2024-12-01 · in The Slang Shading Language
  18. This is in reference to [1]. [1] https://github.com/gfx-rs/wgpu/issues/6434
    comment by Animats · 2024-11-22 · in What's Next for WebGPU
  19. …have been cancelled and the main site for Rust game dev stopped updating in June 2024.[2] [1] https://github.com/gfx-rs/wgpu/issues/6434 [2] https://gamedev.rs/
    comment by Animats · 2024-11-22 · in What's Next for WebGPU
  20. …probably need far more manpower/talent than they have to improve performance proportionately. [1] https://github.com/gfx-rs/wgpu/discussions/5525
  21. …s://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QRhiWidget... [3] https://github.com/pygfx/wgpu-py/ [4] https://github.com/gfx-rs/wgpu
    comment by an1sotropy · 2024-10-26 · in Pygfx
  22. …pygfx/wgpu-py: https://github.com/pygfx/wgpu-py/ : > A Python implementation of WebGPU gfx-rs/wgpu: https://github.com/gfx-rs/wgpu : > wgpu is a cross-platform, safe, pure-rust graphics API. It runs natively on Vulkan, Metal, D3D12, and…
    comment by westurner · 2024-10-25 · in Pygfx
  23. wgpu supports WebGPU: https://github.com/gfx-rs/wgpu : > While WebGPU does not support any shading language other than WGSL, we will automatically convert your non-WGSL shaders if you're running on WebGPU.
    comment by westurner · 2024-08-30 · in SDL3 new GPU API merged
  24. ▲ 3
    First major version release of gfx-rs/wgpu
    story by kachapopopow · 2024-07-19 · 0 comments
  25. …without the "webgl" feature enabled, wgpu relies on the browser's own WebGPU implementation. https://github.com/gfx-rs/wgpu?tab=readme-ov-file#tracking-t...
  26. Short version: hope, yes. Obtain now, no. Long version: https://github.com/gfx-rs/wgpu/discussions/5525 There's a lock stall around resource allocation. The asset-loading threads can stall out the rendering thread. I can see this in Tracy…
  27. …management operations on worker threads? https://gfx-rs.github.io/2023/11/24/arcanization.html https://github.com/gfx-rs/wgpu/issues/5322
  28. …it feels to an outsider like this is the fantasy land, that we're living in the better place now. https://github.com/gfx-rs/wgpu
    comment by jauntywundrkind · 2024-05-07 · in Linux When?
  29. This is a pretty good answer: https://github.com/gfx-rs/wgpu/tree/trunk/wgpu-hal The "design of WebGPU" is a problem. It's designed for the web to be secure and sandboxed so the API design reflects that. This is not a good thing on desktop.
    comment by Pannoniae · 2024-05-07 · in Linux When?
  30. Oh look it's subgroup support landing last week: https://github.com/gfx-rs/wgpu/pull/5301
  31. Isn't that what https://github.com/gfx-rs/wgpu is providing?
  32. …about the product or about technical challenges. [1] https://github.com/rust-windowing/winit [2] https://github.com/gfx-rs/wgpu
    comment by alokedesai · 2024-02-22 · in Warp Terminal is now available for Linux
  33. …about the product or about technical challenges. [1] https://github.com/rust-windowing/winit [2] https://github.com/gfx-rs/wgpu
    comment by alokedesai · 2024-02-22 · in Linux version of Warp terminal is here
  34. …[3]: https://interplayoflight.wordpress.com/2023/12/17/a-gentler-... [4]: https://github.com/gfx-rs/wgpu/pull/3631 [5]: https://github.com/gfx-rs/wgpu/pull/5123 , https://github.com/gfx-rs/wgpu/pull/5154
  35. …used some projects using it with no issues. WFIW I didn't see any issue with OP's demo either. [0] https://github.com/gfx-rs/wgpu
    comment by fngjdflmdflg · 2023-12-18 · in Show HN: WebGPU Particles Simulation
  36. …Chrome's implementation (C++): https://dawn.googlesource.com/dawn Firefox's implementation (Rust): https://github.com/gfx-rs/wgpu/
    comment by flohofwoe · 2023-12-14 · in Deno 1.39: The Return of WebGPU
  37. …maintainers has been working on Windowing support, also using winit (same as denog linked above) - https://github.com/gfx-rs/wgpu/pull/3265#issuecomment-140065...
    comment by andsoitis · 2023-12-14 · in Deno 1.39: The Return of WebGPU
  38. …For usage from Rust you can also use gfx-rs/wgpu, which has a Rust-idiomatic API (e.g. see: https://github.com/gfx-rs/wgpu/blob/trunk/examples/hello-tri... - which to be honest doesn't look more "ergonomic" than the C API to me). Also,…
    comment by flohofwoe · 2023-11-11 · in Capturing the WebGPU Ecosystem
  39. …with WebGL/older GPUs, but we wanted to focus on getting our existing renderer working first. [0]: https://github.com/gfx-rs/wgpu
  40. The WGPU people have a new, faster version coming out and Firefox integration is in progress.[1] [1] https://github.com/gfx-rs/wgpu/pull/3626#issuecomment-173417...
  41. …improve it, but it's open source so there's no reason you or anyone else could stamp out the bugs https://github.com/gfx-rs/wgpu#supported-platforms .
    comment by jms55 · 2023-09-19 · in The anatomy of a Godot API call
  42. Consider learning Rust instead, and use wgpu [1]. [1] https://github.com/gfx-rs/wgpu/
    comment by adwn · 2023-08-28 · in C++ Papercuts
  43. What about https://github.com/gfx-rs/wgpu It is written in Rust
    comment by KRAKRISMOTT · 2023-07-07 · in Meta releases Intermediate Graphics Library
  44. …All that "ARCcanization" should fix that. (I'm a user of WGPU, not one of its developers.) [1] https://github.com/gfx-rs/wgpu/pull/3626/files/5b34df5a2e6f9...
  45. …The index tables required global locks, and this was killing multi-thread performance. [1] https://github.com/gfx-rs/wgpu/pull/3626
    comment by Animats · 2023-06-21 · in Handles are the better pointers (2018)
  46. …default on Windows, but the DX12 backend isn't fully cooked yet so for now it defaults to Vulkan. https://github.com/gfx-rs/wgpu/issues/2719
    comment by jsheard · 2023-05-03 · in I want to talk about WebGPU
  47. WebGPU can be used outside of the browser through native libraries: https://github.com/gfx-rs/wgpu https://dawn.googlesource.com/dawn (these are the libraries that are used in Firefox and Chrome to provide the WebGPU implementation, don't…
    comment by flohofwoe · 2023-05-03 · in I want to talk about WebGPU
  48. …lot of users within and outside of Rust ecosystem. I'm confident Firefox can ship it soon (tm). [1] https://github.com/gfx-rs/wgpu
    comment by kvark · 2023-04-15 · in WebGPU Fundamentals
  49. …For example, we have: - https://github.com/rust-windowing/winit (cross-platform window creation) - https://github.com/gfx-rs/wgpu (abstraction on top of vulkan/metal/dx12) - https://github.com/linebender/vello (a canvas like imperative…
    comment by nicoburns · 2023-04-03 · in XUL Layout is gone
  50. are you confusing it with WebGL? we're talking about https://github.com/gfx-rs/wgpu which has Vulkan, Metal and DX12 backends
    comment by anentropic · 2023-02-23 · in Ambient: The Multiplayer Game Engine