Rust-CUDA VS rust-gpu

Compare Rust-CUDA vs rust-gpu and see what are their differences.

Rust-CUDA

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

rust-gpu

🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧 (by EmbarkStudios)
Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
Rust-CUDA rust-gpu
23 55
1,879 4,908
5.3% 3.9%
8.7 9.3
9 days ago 4 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
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.

Rust-CUDA

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-09-15.
  • Can Rust do Computer Graphics and ML?
    5 projects | reddit.com/r/rust | 15 Sep 2022
    There’s also https://github.com/Rust-GPU/Rust-CUDA
  • There is framework for everything.
    107 projects | reddit.com/r/ProgrammerHumor | 4 Aug 2022
  • C++ is making me depressed / CUDA question
    7 projects | reddit.com/r/rust | 20 Jul 2022
    And here's an example on how to add two floats using Rust-CUDA: https://github.com/Rust-GPU/Rust-CUDA/blob/master/examples/cuda/gpu/add_gpu/src/lib.rs
    7 projects | reddit.com/r/rust | 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 | reddit.com/r/rust | 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 | reddit.com/r/u_KestM | 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 | reddit.com/r/silverblue | 12 Apr 2022
    rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(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 https://github.com/Rust-GPU/Rust-CUDA.git git clone https://github.com/vulkano-rs/vulkano.git git clone https://github.com/Relm4/relm4.git 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 | reddit.com/r/MachineLearning | 12 Feb 2022
  • Writing Vulkan SPIR-V shaders in C++?
    4 projects | reddit.com/r/vulkan | 12 Feb 2022
    Is Rust CUDA, "writing [...] GPU code fully in Rust" (from its "about" description), but still early in development, relevant?
  • Announcing Rust-CUDA 0.3; Hardware raytracing, cuBLAS, cuDNN, atomics, and more
    3 projects | reddit.com/r/rust | 7 Feb 2022

rust-gpu

Posts with mentions or reviews of rust-gpu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-20.

What are some alternatives?

When comparing Rust-CUDA and rust-gpu you can also consider the following projects:

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

bevy - A refreshingly simple data-driven game engine built in Rust

hash-shader - SHA256 Compute Shader (Kernel) Written in Rust

DiligentEngine - A modern cross-platform low-level graphics library and rendering framework

onnxruntime-rs - Rust wrapper for Microsoft's ONNX Runtime (version 1.8)

compute-shader-101 - Sample code for compute shader 101 training

are-we-learning-yet - How ready is Rust for Machine Learning?

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

wgpu-rs - Rust bindings to wgpu native library

kompute - General purpose GPU compute framework built on Vulkan to support 1000s of cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.

makepad - Makepad is a creative software development platform for Rust that compiles to wasm/webGL, osx/metal, windows/dx11 linux/opengl