Rust GPU

Open-source Rust projects categorized as GPU

Top 22 Rust GPU Projects

  • alacritty

    A cross-platform, OpenGL terminal emulator.

    Project mention: Tmux startup issue with Alacritty | reddit.com/r/tmux | 2022-11-29
  • neovide

    No Nonsense Neovim Client in Rust

    Project mention: Neovide not launching | reddit.com/r/neovim | 2022-12-02

    Probably related to this https://github.com/neovide/neovide/issues/1356

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • wgpu

    Safe and portable GPU abstraction in Rust, implementing WebGPU API.

    Project mention: High Performance Rust UI talk | reddit.com/r/rust | 2022-12-01

    So we're investigating that but it's much deeper water than you might think. The binding model is basically the same between WebGPU and Vulkan, hence it's not too hard to accept precompiled shaders there, but on other platforms it's pretty different. And the whole WebGPU model is based on very late compilation.

  • gfx

    [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.

    Project mention: Why is it that I need to invert the projection matrix in Vulkan and how should that be handled when supporting multiple render backends? | reddit.com/r/vulkan | 2022-10-18

    The gfx-backend-* READMEs each have a graphic explanation that is very useful. As others have said, the best way to handle this is with a flipped viewport, but I've never seen a satisfactory explanation as to why this doesn't mess with front/back faces and culling.

  • Emu

    The write-once-run-anywhere GPGPU library for Rust

    Project mention: How to rent a powerful computer for one remote task, once? | reddit.com/r/learnprogramming | 2022-05-28

    I've just been running it using the CMD. Maybe I can improve it to use my GPU with this library, since it's in Rust.

  • pixels

    A tiny hardware-accelerated pixel frame buffer. 🦀

    Project mention: How to prevent performance drops affecting my Game Boy emulator when running on M1/M2 Macs? | reddit.com/r/rust | 2022-11-25

    However, I recently got a new M2 Macbook Air and started noticing some super weird behavior. While playing Pokemon Silver with an unlocked framerate, I'd notice that the game would slow down to below 60FPS, even on a release build. After printing a little debugging info I found the culprit in the rendering logic which was handled by the MiniFB crate. At first I thought switching to a GPU renderer (such as https://github.com/parasyte/pixels) would help, and it... kinda did?

  • rui

    Experimental Rust UI library

    Project mention: Do you think is it worth to learn gtk4 to use it with rust? | reddit.com/r/rust | 2022-11-12

    Depending on the scale of your project, I could suggest rui library which is cross platform though it's not related to gtk, https://github.com/audulus/rui, It's inspired by swiftUI

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • luminance-rs

    Type-safe, type-level and stateless Rust graphics framework

    Project mention: Luminance redesign; Part 1: compatible vertex types | reddit.com/r/rust_gamedev | 2022-09-06

    luminance is a graphics ecosystem focusing on type-safe and type-level API. This is part of a blog article series describing the process of redesign the API to update it to how I see things today, trying to fix several flaws of the previous design, and bring more simplicity to developers.

  • RustaCUDA

    Rusty wrapper for the CUDA Driver API

  • arrayfire-rust

    Rust wrapper for ArrayFire

    Project mention: Making a better Tensorflow thanks to strong typing | reddit.com/r/rust | 2022-05-26

    Take a look at arrayfire-rust! :)

  • blub

    3D fluid simulation experiments in Rust, using WebGPU-rs (WIP)

  • nvfancontrol

    NVidia dynamic fan control for Linux and Windows

    Project mention: Why wont my laptop shut up | reddit.com/r/linuxquestions | 2022-03-22
  • ministark

    🏃‍♂️💨 GPU accelerated STARK prover built on @arkworks-rs

    Project mention: I spent 4 months generating proofs for Brainfuck programs | news.ycombinator.com | 2022-11-16
  • vger-rs

    2D GPU renderer for dynamic UIs

    Project mention: Vector Graphics on GPU | news.ycombinator.com | 2022-08-10

    I've done a library for vector graphics on the GPU which works pretty well for my uses:

    https://github.com/audulus/vger

    and a rust version:

    https://github.com/audulus/vger-rs

    (which powers my rust GUI library: https://github.com/audulus/rui)

    Here's the approach for rendering path fills. From the readme:

    > The bezier path fill case is somewhat original. To avoid having to solve quadratic equations (which has numerical issues), the fragment function uses a sort-of reverse Loop-Blinn. To determine if a point is inside or outside, vger tests against the lines formed between the endpoints of each bezier curve, flipping inside/outside for each intersection with a +x ray from the point. Then vger tests the point against the area between the bezier segment and the line, flipping inside/outside again if inside. This avoids the pre-computation of Loop-Blinn, and the AA issues of Kokojima.

    It works pretty well, and doesn't require as much preprocessing as the code in the article. Also doesn't require any GPU compute (though I do use GPU compute for some things). I think ultimately the approach in the article (essentially Piet-metal, aka tessellating and binning into tiles) will deliver better performance, and support more primitives, but at greater implementation complexity. I've tried the Piet-metal approach myself and it's tricky! I like the simpler Shadertoy/SDF inspired approach :)

  • gpgpu-rs

    Simple experimental async GPGPU framework for Rust

    Project mention: Non graphical computing on GPU | reddit.com/r/rust | 2022-11-09

    gpgpu-rs is a wgpu helper lib

  • LACT

    Linux AMDGPU Controller

  • nuance

    A tool to run your shaders on the gpu. Also a good demo application for wgpu-rs.

  • squad-mortar-helper

    💣 SMH – a computer vision project for automatic, precision mortar strike calculations in Squad

    Project mention: I created the most overengineered mortar calculator using computer vision | reddit.com/r/joinsquad | 2022-05-26

    I've made quite a few fixes already but not enough to actually release a new version yet. You can see the commit log here and I'll be releasing a new version soon here with fixes and accuracy improvements in the coming days. I will also make sure to include in the next version an update checker.

  • compaster

    Rasterization using compute shaders

    Project mention: [MEDIA] Basic rasterizer using compute shaders and wgpu | reddit.com/r/rust | 2021-12-16

    repo: https://github.com/pudnax/compaster

  • rivi-loader

    Vulkan Compute program loader in Rust

    Project mention: Any good resources for purely computational work? | reddit.com/r/vulkan | 2022-05-03

    If you use Rust, I have been developing a similar project to kompute: https://github.com/periferia-labs/rivi-loader

  • fractal-explorer

    A simple Julia Set and Mandelbrot interactive explorer built using Rust. It can run as a desktop application or on the web. Web demo available at https://lobis.github.io/fractal-explorer/

    Project mention: What's everyone working on this week (42/2022)? | reddit.com/r/rust | 2022-10-17

    Finishing my pet project https://github.com/lobis/fractal-explorer!

  • gda_compute

    A GPU/CPU compute library written in rust focusing on computation on ndim Arrays

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-12-02.

Rust GPU related posts

Index

What are some of the best open-source GPU projects in Rust? This list will help you:

Project Stars
1 alacritty 43,322
2 neovide 8,984
3 wgpu 6,178
4 gfx 5,206
5 Emu 1,526
6 pixels 1,266
7 rui 1,077
8 luminance-rs 965
9 RustaCUDA 689
10 arrayfire-rust 687
11 blub 255
12 nvfancontrol 154
13 ministark 146
14 vger-rs 109
15 gpgpu-rs 92
16 LACT 69
17 nuance 26
18 squad-mortar-helper 17
19 compaster 14
20 rivi-loader 13
21 fractal-explorer 12
22 gda_compute 3
The context switching struggle is real
Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!
www.zigi.ai