gpgpu-rs
learn-wgpu
Our great sponsors
gpgpu-rs | learn-wgpu | |
---|---|---|
8 | 75 | |
134 | 1,378 | |
- | - | |
3.8 | 8.0 | |
29 days ago | 14 days ago | |
Rust | Rust | |
European Union Public License 1.2 | MIT License |
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.
gpgpu-rs
-
GPGPU Options
If you don't mind using a pure rust "alternative" you could use wgpu or a wrapper like gpgpu-rs, or any other of the projects mentioned in the other comments.
-
Non graphical computing on GPU
gpgpu-rs is a wgpu helper lib
-
Compute Shaders and Rust - looking for some guidance.
You could try gpgpu-rs, a compute-focused framework I'm writing. It has some nice integrations with image and ndarray (tho the latter still needs some work) I'll definitely love some feedback :)
-
Rust-CUDA: writing and executing extremely fast GPU code fully in Rust
Would be really nice to have an actual cross platform GPGPU library. It's really holding every kind of progress back to have only vendor lock-in.
Maybe WebCPU will be capable of compute to the extend that CUDA isn't necessary. https://github.com/UpsettingBoy/gpgpu-rs
-
I was bored so I corrected the corrected calculator by u/pushinat to calculate all possible scenarios between max and lewis. Out of these 3.7 trillion scenarios Max wins 86.6% of them (Fixed fastest lap, and added half points and cancelled races)
gpgpu-rs it is then! 🙂
- gpgpu-rs: A GPGPU compute oriented framework inspired in OpenCL
-
Learn Wgpu updated to 0.11
I'm working on a compute framework (gpgpu-rs) based on wgpu, if you wanna check out.
-
Is WGSL a good choice?
My recommendation is to stick with WGSL for wgpu. I have some simple compute shaders examples if you wanna check out.
learn-wgpu
-
Practicing Rust, Learning Bevy, Creating a WASM Snake Game for the Browser
Nice.
Speaking of Snake game, if you want to go even deeper, you can try to use the wgpu crate to combine Rust and WebGPU to write everything from scratch. Here is the tutorial:
https://sotrh.github.io/learn-wgpu/#what-is-wgpu
I once wrote a code editor with wgpu, from font rendering to char/line state management (very rough) for music live coding:
https://github.com/glicol/glicol-wgpu
It runs in browsers, even including Safari!
- Please review my ECS geospatial engine so far
- Help me get started with 3D graphics in Rust
-
Realtime Ray Marching implemented with Rust and wgpu
https://sotrh.github.io/learn-wgpu/ This is probably the best resource out there for learning wgpu specifically. If you're unfamiliar with graphics, the learnopengl one is good. If you've got experience though, jumping right into that one is a shout or looking at some vulkan ones as they're pretty similar in terms of architecture.
-
Is it possible and realistic to learn independent of an API?
- https://sotrh.github.io/learn-wgpu
-
What would be a good project structure/ design for a game engine using WebGPU?
Most of The WGPU I learnt is from https://sotrh.github.io/learn-wgpu/ but it doesn't really talk about designing n stuff, I thought of checking out the source code for Bevy or even games like veloren. But well, their codebases are pretty big to get started in the first place.
- Learn Wgpu
-
Learning OpenGL before wgpu?
So I was wondering if opting for option 1 would be better to begin with. OpenGL has a much bigger community and wgpu only has its documentation which I hear is not quite up there yet. There is this excellent tutorial for wgpu that I read through, but it seems like wgpu can be a lot more complicated than starting with OpenGL.
-
Getting started with computer graphics with Rust
I started with wgpu tutorial (https://sotrh.github.io/learn-wgpu/) since I like the idea of portability and it's a Rust-first library, but it seems I'm missing some foundations of how CG works in general: the code is given, a little of explanation like it assumes I already know something, maybe I'm wrong, but I wish there was a longer explicit version.
-
Trying to learn wgpu
If you haven't seen it: https://sotrh.github.io/learn-wgpu/ is a good introduction that will explain most of what you asked, then can refer to rend3d or bevys renderer to see how a render graph works.
What are some alternatives?
wgsl.vim - WGSL syntax highlight for vim
ash - Vulkan bindings for Rust
wgpu - Cross-platform, safe, pure-rust graphics api.
glium - Safe OpenGL wrapper for the Rust language.
Rust-CUDA - Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
SDL - Simple Directmedia Layer
compute-shader-101 - Sample code for compute shader 101 training
winit - Window handling library in pure Rust
vange-rs - Rusty Vangers clone
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
wgsl-mode - Emacs syntax highlighting for the WebGPU Shading Language (WGSL)