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
-
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) -
▲ 3
Running on the Web with WebGPU and WebGLstory by fulafel · 2022-12-31 · 0 comments
-
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 -
…to keep an eye on, but it's very much a proof of concept and early going. It's using wgpu ( https://github.com/gfx-rs/wgpu ), which is a rust-based "implementation" of the WebGPU api, so to speak, which of course would support running via…
comment by gorbypark · 2022-06-04 · in Why are maps so hard to make? -
…(sokol_gfx in particular): https://github.com/floooh/sokol - wgpu (see wgpu-native for the C API): https://github.com/gfx-rs/wgpu It kind of seems like graphics abstractions for modern hardware are getting pretty "figured out". There are…
comment by gary_0 · 2022-04-26 · in Magnum: Lightweight, modular C++11 graphics middleware for games/visualization -
…I think is a great API. It's native to Rust, but there are ways of using it from C and C++ too. https://github.com/gfx-rs/wgpu/
comment by Jasper_ · 2022-03-21 · in Ask HN: Why did Apple create their half-baked Metal insead of using Vulkan? -
…this, it would be good if they put the benchmarks on the first page. E.g, how does it compare with https://github.com/gfx-rs/wgpu which lets you target Vulkan, Metal, DX, GL or WASM+WebGPU with rust?
comment by sxp · 2021-11-22 · in Rust-CUDA: Fast GPU code fully in Rust -
There's also WebGPU. wgpu ( https://github.com/gfx-rs/wgpu ) is really nice.
comment by adamnemecek · 2021-11-22 · in Low overhead C++ interface for Apple's Metal API -
…nominally meant for Javascript in the browser, but there are native interfaces for it such as Rust: https://github.com/gfx-rs/wgpu
comment by sxp · 2021-07-19 · in Ask HN: Reinforcement learning for single, lower end graphic cards? -
https://github.com/gfx-rs/wgpu is the actual implementation (in Rust, but exposing a C API). wgpu-rs is an idiomatic wrapper around that.
comment by mrec · 2021-05-18 · in First Public Working Drafts: WebGPU and WebGPU Shading Language -
You should check out wgpu for rendering https://github.com/gfx-rs/wgpu .
comment by adamnemecek · 2021-02-10 · in Are we game yet? – A guide to the Rust game development ecosystem -
…and Metal are nice (and also have a nice debuggers) or WebGPU. WGPU is a nice WebGPU implementation https://github.com/gfx-rs/wgpu
comment by adamnemecek · 2020-12-17 · in Hallucinations re: the rendering of Cyberpunk 2077 -
…idea is to embed a SPIRV-to-Metal compiler inside the browser. At least, that's what it looks like https://github.com/gfx-rs/wgpu is doing right now.
comment by giornogiovanna · 2020-02-06 · in Building WebGPU with Rust [video] -
…in WASI because it has standalone native implementations: https://dawn.googlesource.com/dawn https://github.com/gfx-rs/wgpu But for blitting CPU-generated 2D image data to the screen WebGPU is also sort of overkill (of course it would be…
comment by flohofwoe · 2020-01-19 · in Standalone WebAssembly games using I/O devices -
There is another translation layer called wgpu ( https://github.com/gfx-rs/wgpu ) being developed as well. It's written in Rust and has bindings for C, Rust ( https://github.com/gfx-rs/wgpu-rs ), and some initial support for other…
comment by grovesNL · 2020-01-16 · in Vulkan 1.2 -
…of gfx-portability [1], which is a MoltenVK alternative that runs on Metal, DX12, and DX11. [0]: https://github.com/gfx-rs/wgpu [1]: https://github.com/gfx-rs/portability
comment by grovesNL · 2019-09-30 · in Rx – Extensible pixel editor implemented in Rust, inspired by Vi -
…graphics application today - I would pick something like Vulkan over OpenGL, given the choice. [0]: https://github.com/gfx-rs/wgpu
comment by cloudhead · 2019-09-30 · in Rx – Extensible pixel editor implemented in Rust, inspired by Vi -
Worth looking at the hello-triangle examples for the C- and Rust-APIs: C99 Hello Triangle: https://github.com/gfx-rs/wgpu/blob/master/examples/hello_tr... Rust Hello Triangle: https://github.com/gfx-rs/wgpu/blob/master/examples/hello_tr...…
comment by flohofwoe · 2019-03-07 · in The rise of wgpu