RustaCUDA
wgpu
Our great sponsors
RustaCUDA | wgpu | |
---|---|---|
3 | 195 | |
743 | 10,910 | |
- | 4.7% | |
0.0 | 9.9 | |
almost 2 years ago | 2 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RustaCUDA
-
What's the current state of GPU compute in rust?
I think at the moment the I would use https://github.com/bheisler/RustaCUDA/ and C/C++ `.cu` files with `extern "C"` to call from Rust. Even though there are experiments to have nvptx as a compilation target for Rust.
-
Using CUDA from Rust?
RustaCuda: https://github.com/bheisler/RustaCUDA
-
State of CUDA on Rust in the beginning of 2021 ?
Once you have a compiled kernel (in Rust or CUDA C), RustaCUDA provides basic bindings to load and execute it. I haven't been maintaining or extending it for a while now since I haven't been doing GPGPU stuff, but it should still work, at least for the parts of the API that it exposes.
wgpu
-
GPU Compute in the Browser at the Speed of Native: WebGPU Marching Cubes
Oh look it's subgroup support landing last week: https://github.com/gfx-rs/wgpu/pull/5301
- 3D and 2D: Testing out my cross-platform graphics engine
- Warp Terminal is now available for Linux
- Linux version of Warp terminal is here
-
Building the DirectX shader compiler better than Microsoft?
And wgpu has been doing this for years. Things like descriptor indexing are not exposed to the web but used by Rust (mostly) engines on native.
https://wgpu.rs/
-
New Renderers for GTK
If they used https://wgpu.rs/ they would get directx and metal for free (:
-
Show HN: WebGPU Particles Simulation
IIRC it was delayed multiple times. I think the first intent to ship from chrome was before 100 but they kept pushing it off. Firefox still does not support it. There are projects like wgpu[0] that wrap provide a higher level API and I have 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
- Deno 1.39: The Return of WebGPU
-
How do I become a graphics programmer? – A guide from AMD Game Engineering team
wgpu, the Rust WebGPU implementation is the bee's knees. https://wgpu.rs/ You can use it beyond the web.
-
There is anything like wgpu.rs for Zig?
There is anything like wgpu.rs for Zig? wgpu.rs is an abstraction on top of Vulkan, Metal, DirectX, etc...
What are some alternatives?
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
vulkano - Safe and rich Rust wrapper around the Vulkan API
cuda-sys - Rust binding to CUDA APIs
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
autograph - Machine Learning Library for Rust
glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
blub - 3D fluid simulation experiments in Rust, using WebGPU-rs (WIP)
arrayfire-rust - Rust wrapper for ArrayFire
bevy - A refreshingly simple data-driven game engine built in Rust
pilka - Another live-coding tool for creating shader demos, Vulkan+Wgpu powered.
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.