Rust-CUDA VS gpgpu-rs

Compare Rust-CUDA vs gpgpu-rs and see what are their differences.


Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust. (by Rust-GPU)


Simple experimental async GPGPU framework for Rust (by UpsettingBoy)
Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • - Download’s Tech Salary Report
Rust-CUDA gpgpu-rs
24 6
1,930 78
4.7% -
8.6 5.1
8 days ago 19 days ago
Rust Rust
Apache License 2.0 European Union Public License 1.2
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of Rust-CUDA. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-04.
  • Brute forcing protected ZIP archives in Rust
    5 projects | | 4 Oct 2022
    With Rust-CUDA you can write Rust code to run on the GPU quite easily, long as the code is no_std (and you have a NVIDIA GPU).
  • Can Rust do Computer Graphics and ML?
    5 projects | | 15 Sep 2022
    There’s also
  • There is framework for everything.
    107 projects | | 4 Aug 2022
  • C++ is making me depressed / CUDA question
    7 projects | | 20 Jul 2022
    And here's an example on how to add two floats using Rust-CUDA:
    7 projects | | 20 Jul 2022
    I can't say whether or not it works well, and seems maybe fiddly to install, but Rust-CUDA might work for you.
  • Does Rust still depend on LLVM?
    3 projects | | 18 May 2022
    Kinda - SPIR-V is an intermediate representation that can be consumed by graphics drivers and compiled down by them to the GPU's native code. In that sense it's more similar to emitting LLVM IR than e.g. x86 machine code. Similarly, Rust-CUDA emits NVVM IR, which is a subset of LLVM IR.
  • State of GPGPU in 2022
    4 projects | | 27 Apr 2022
    Rust-GPU look promising, also Rust-CUDA, also I see OpenCL 3.0 wrapper
  • Silverblue loads nouveau instead of installed nvidia
    3 projects | | 12 Apr 2022
    rpm-ostree install$(rpm -E %fedora).noarch.rpm$(rpm -E %fedora).noarch.rpm sudo rpm-ostree uninstall akmod-nvidia sudo rpm-ostree install akmod-nvidia-470xx rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1 sudo systemctl reboot sudo rpm-ostree install nvidia-settings-470xx xorg-x11-drv-nvidia-470xx-power sudo rpm-ostree uninstall xorg-x11-drv-nvidia-cuda sudo rpm-ostree install xorg-x11-drv-nvidia-470xx-cuda sudo rpm-ostree install xorg-x11-drv-nvidia-470xx-devel sudo rpm-ostree install xorg-x11-drv-nvidia-470xx-cuda-devel sudo rpm-ostree install cuda-samples sudo rpm-ostree install vulkan-tools vkmark mesa-vulkan-devel sudo rpm-ostree install libshaderc-devel sudo rpm-ostree install clang clang-tools-extra libstdc++-devel sudo rpm-ostree install glib2-devel glib-devel avahi-gobject-devel sudo rpm-ostree install cairo-devel pango-devel gdk-pixbuf2-devel sudo rpm-ostree install graphene-devel gtk4-devel cairo-gobject-devel sudo systemctl reboot modinfo /usr/lib/modules/$(uname -r)/kernel/drivers/video/nvidia.ko | grep ^version find /usr/lib/modules -name nvidia.ko -exec modinfo {} \; sudo lspci -v | grep -A 20 VGA git clone git clone git clone glxgears glxinfo glxgears glxinfo vkcube vkcubepp ./teapot ./triangle ./occlusion-query ./interactive_fractal
  • [P] C++ Machine Learning Library Built From Scratch by a 16-Year-Old High Schooler
    3 projects | | 12 Feb 2022
  • Writing Vulkan SPIR-V shaders in C++?
    4 projects | | 12 Feb 2022
    Is Rust CUDA, "writing [...] GPU code fully in Rust" (from its "about" description), but still early in development, relevant?


Posts with mentions or reviews of gpgpu-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-15.

What are some alternatives?

When comparing Rust-CUDA and gpgpu-rs you can also consider the following projects:

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

rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

rust-ndarray - ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations

CUDA.jl - CUDA programming in Julia.

vk-bootstrap - Vulkan Bootstrapping Iibrary

GLSL - GLSL Shading Language Issue Tracker

Seed - A Rust framework for creating web apps

Enzyme - High-performance automatic differentiation of LLVM and MLIR.

ReShell - A modern shell language built for the future :rocket:

yabridge - A modern and transparent way to use Windows VST2, VST3 and soon CLAP plugins on Linux

nalgebra - Linear algebra library for Rust.