rust-gpu VS book

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


🐉 Making Rust a first-class language and ecosystem for GPU code 🚧 (by EmbarkStudios)


The Rust Programming Language (by rust-lang)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
rust-gpu book
19 109
3,696 7,851
3.6% 3.3%
9.5 9.1
7 days ago 6 days ago
Rust Rust
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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-gpu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-04.
  • What's everyone working on this week (40/2021)? | 2021-10-04
    Another aspect of writing code for GPUs are the shaders, the code that gets executed in the GPU. These can be written in CUDA C (for CUDA), OpenCL C (for OpenCL), GLSL (if using graphic/compute APIs such as OpenGL), etc. Rust can be used for this purpose too, thanks to rust-gpu, but it is a bit more complex to get started.
  • Unified Shader Programming in C++ | 2021-10-03
    Rust also has this, from what I understand:
  • Is there a crate for CPU/GPU agnostic code in Rust (like Kokkos for C++) | 2021-09-29
  • What's the current state of GPU compute in rust? | 2021-09-20
    Working on autograph, for machine learning and neural networks. Unlike CUDA / HIP it's threadsafe, but doesn't expose low level things like multiple streams. Most of the shaders are glsl but I'm now using rust_gpu for pure rust gpu code.
  • I wanted to share my experience of Rust as a deep learning researcher | 2021-09-01
    For this, I'm hoping these folks will nail it soon
  • Man, building a game sure takes a long time | 2021-07-07
    That's a good point. I'm interested in projects like Rust GPU for this sort of thing. Should make it easy enough to actually unit test your shaders.
  • 32bit indexing in 64bit again - GPUs | 2021-06-28
    Proposing a function like std::index_32, to improve a performance problem which may or may not exist, on a class of platforms which aren't supported (and on which Rust currently barely compiles), because Rust might become popular on those platforms in the future... you could try it, but I think your proposal would have a very low chance of being accepted. The starting point is here.
  • Announcing neuronika 0.1.0, a deep learning framework in Rust | 2021-06-15
    there is the rust-gpu effort, an alternative to OpenCL
  • Is cuda all written in C++ why not RUST? | 2021-06-04
  • Rust-GPU: Making Rust a first-class language and ecosystem for GPU code | 2021-06-04


Posts with mentions or reviews of book. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-20.
  • Best way to spend learning budget on Rust? | 2021-10-20
    Generally, people tend to suggest Programming Rust from O'Reilly when you're not asking about a specific niche and want to go beyond the free stuff like The Book, Rust By Example, Learn Rust With Entirely Too Many Linked Lists, etc.
  • Need advice on how to go about this | 2021-10-19
    and using the links attached in the post itself to learn more about Rust GitHub - rust-lang/book: The Rust Programming Language
  • What backend do you use for your React project? | 2021-10-19
    If you're at all interested, I definitely recommend reading through a few chapters of The Rust Book: More resources:
  • Are there plans for "the book" 2021 edition? | 2021-10-15
    Nothing essential in the book would need to change for 2021, so I would use the current book on the website if I were you. There are plans to add a short summary of 2021 changes in the appendix
  • Solving NP-hard puzzles with the oldest trick in the book
    Check out this Rust and WASM Game of Life tutorial. It won't be web development in the sense that you're interacting with the DOM, but you will get a game running on a canvas that you can interact with. You should probably have at least some introductory knowledge of Rust -- see the Rust book.
  • Book/material for learning Rust from scratch | 2021-10-13
    The official Rust book would be a good starting point. There's also The Little Book of Rust Books that contains links to many more :)
  • Hey Rustaceans! Got an easy question? Ask here (41/2021)! | 2021-10-11
    Rust by example is a very gentle introduction, somewhat skimming on details in faviour of examples. I'd recommend this alongside TRPL
  • I need help with rust | 2021-10-10
    Oh no! Here's something I've found really helpful for dealing with Rust:
  • Advice for a struggling beginner | 2021-10-04
    Read the book:
  • Rust in Astronomy and computational physics | 2021-10-03
    In addition, if you're new to Rust completely, I'd recommend that you read The Book to get a handle on the syntax, differences from other languages, and do some examples.

What are some alternatives?

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

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

nomicon - The Dark Arts of Advanced and Unsafe Rust Programming

HandsOnRust - The source code that accompanies Hands-on Rust: Effective Learning through 2D Game Development and Play by Herbert Wolverson

wgpu-rs - Rust bindings to wgpu native library

rusqlite - Ergonomic bindings to SQLite for Rust

rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:

redox - Mirror of

Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!

30-days-of-elixir - A walk through the Elixir language in 30 exercises.

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

DirectXShaderCompiler - This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.

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