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
20082026
-
…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 -
…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
comment by auberonedu · 2026-09-11 · in The Deathray: A simple way for an untrusted site to freeze a Mac -
…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++ -
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
comment by jsheard · 2026-02-13 · in Zed editor switching graphics lib from blade to wgpu -
…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 -
…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 -
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 -
…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 -
…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 -
…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 -
Indeed, it doesn't seem to be possible at the moment, see e.g. https://github.com/gfx-rs/wgpu/issues/4067
comment by rossant · 2025-03-11 · in Fastplotlib: GPU-accelerated, fast, and interactive plotting library -
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…
comment by dylanowen · 2024-12-25 · in Ask HN: Resources for general purpose GPU development on Apple's M* chips? -
…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 -
…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 -
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 -
…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 -
…probably need far more manpower/talent than they have to improve performance proportionately. [1] https://github.com/gfx-rs/wgpu/discussions/5525
comment by vacuity · 2024-11-04 · in Repeatability: As Difficult as it is Important -
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 -
…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...
comment by ReleaseCandidat · 2024-06-07 · in I learned Vulkan and wrote a small game engine with it -
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…
comment by Animats · 2024-06-06 · in I learned Vulkan and wrote a small game engine with it -
…management operations on worker threads? https://gfx-rs.github.io/2023/11/24/arcanization.html https://github.com/gfx-rs/wgpu/issues/5322
comment by dc443 · 2024-06-06 · in I learned Vulkan and wrote a small game engine with it -
…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? -
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? -
Oh look it's subgroup support landing last week: https://github.com/gfx-rs/wgpu/pull/5301
comment by FL33TW00D · 2024-04-23 · in GPU compute in the browser at the speed of native: WebGPU marching cubes -
Isn't that what https://github.com/gfx-rs/wgpu is providing?
comment by virtualritz · 2024-04-02 · in 3D + 2D: Testing out my cross-platform WASM graphics engine -
…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 -
…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 -
…[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
comment by jms55 · 2024-02-18 · in Bevy 0.13: ECS-driven game engine built in Rust -
…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 -
…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 -
…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 -
…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 -
…with WebGL/older GPUs, but we wanted to focus on getting our existing renderer working first. [0]: https://github.com/gfx-rs/wgpu
comment by Philpax · 2023-10-04 · in Show HN: Ambient, a multiplayer game engine and platform using WASM/WebGPU/Rust -
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...
comment by Animats · 2023-09-26 · in Show HN: Unity like game editor running in pure WASM -
…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 -
Consider learning Rust instead, and use wgpu [1]. [1] https://github.com/gfx-rs/wgpu/
comment by adwn · 2023-08-28 · in C++ Papercuts -
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 -
…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...
comment by Animats · 2023-06-24 · in Making C++ safe without borrow checking, reference counting, or tracing GC -
…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) -
…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 -
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 -
…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 -
…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 -
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 -
If you are just getting into graphics, also consider checking out wgpu https://github.com/gfx-rs/wgpu the Rust implementation of the WebGPU standard. Conceptually it's the same as Vulkan it's just a lot less pain in the ass to work with.
comment by adamnemecek · 2023-01-12 · in Vulkan Tutorial (Rust) -
https://github.com/gfx-rs/wgpu
comment by Bolkan · 2022-08-03 · in Vulkan update: version 1.2 conformance for Raspberry Pi 4 -
…on top of it. wgpu [1], for example, has a Vulkan backend. [1] wgpu is a WebGPU implementation; https://github.com/gfx-rs/wgpu
comment by adwn · 2022-08-03 · in Vulkan update: version 1.2 conformance for Raspberry Pi 4