3 ms·
I've been using Rust + WGPU using the Vulkan backend for some chemistry visualization and simulation. Working on using Vulkan compute shaders as well. Good expe
by the__alchemist 4y ago
I've been using Rust + WGPU using the Vulkan backend for some chemistry visualization and simulation. Working on using Vulkan compute shaders as well. Good experience overall, but it was tough to piece together the engine from the examples and Rust docs. Would have been untenable without a third-party tutorial.
Maybe one of the direct Vulkan wrappers would be a better bet? Eg Ash. Seems like the article took a different approach; tough to understand without knowledge about Mesa. (I hadn't heard of it)
- maeln 4y agoIf you already have some experience with graphics API, the Vulkan documentation/specification directly from Khronos is pretty well done and covers everything.
- monocasa 4y agoIt's the other side of the equation, about writing a major piece of GPU driver itself in Rust.
- AgentME 4y agoI believe that using direct Vulkan wrappers in Rust has the downside that you'll have to write a lot of unsafe Rust code to use them, and that's part of the reason a WebGPU-style API around Vulkan like WGPU is popular in Rust.
- bsder 4y ago> it was tough to piece together the engine from the examples and Rust docs. Would have been untenable without a third-party tutorial. This is the problem with using a non C/C++ language for any high-end graphics programming--you step out of the mainline social ecosystem. Consequently, when you need help, you're hosed. As I much as I like Rust, Zig, etc., I would never recommend using them for modern graphics programming unless you have masochistic tendencies.
- deleted 4y ago[deleted]