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. …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?
  2. …(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…
  3. …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/
  4. …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?
  5. There's also WebGPU. wgpu ( https://github.com/gfx-rs/wgpu ) is really nice.
  6. …nominally meant for Javascript in the browser, but there are native interfaces for it such as Rust: https://github.com/gfx-rs/wgpu
  7. 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.
  8. You should check out wgpu for rendering https://github.com/gfx-rs/wgpu .
  9. …and Metal are nice (and also have a nice debuggers) or WebGPU. WGPU is a nice WebGPU implementation https://github.com/gfx-rs/wgpu
  10. …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]
  11. …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…
  12. 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
  13. …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
  14. …graphics application today - I would pick something like Vulkan over OpenGL, given the choice. [0]: https://github.com/gfx-rs/wgpu
  15. 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