Universal shader translation in Rust
Not sure about on the CPU, but naga is a shading language transpiler you can write custom front/backends for.
🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
rust-gpu is a project to give the Rust compiler a SPIR-V backend. naga could then convert that output to GLSL.
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Cross-platform, safe, pure-rust graphics api.
Myself, I've been thinking about going a different direction: writing the code twice but also writing unit tests that test the GPU implementation. In wgpu it is easy to access the GPU without also creating a window, so at some point I'm going to try writing hybrid unit tests.
How a Nerdsnipe Led to a Fast Implementation of Game of Life
3 projects | /r/rust | 30 Jun 2023
Brute forcing protected ZIP archives in Rust
5 projects | /r/rust | 4 Oct 2022
There is anything like wgpu.rs for Zig?
2 projects | /r/Zig | 18 Nov 2023
Show HN: Ambient, a multiplayer game engine and platform using WASM/WebGPU/Rust
4 projects | news.ycombinator.com | 4 Oct 2023
Wgpu: Portable Graphics Library for Rust
1 project | news.ycombinator.com | 13 Sep 2023