rust-gpu VS crates.io

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

rust-gpu

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

crates.io

Source code for crates.io (by rust-lang)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
rust-gpu crates.io
19 179
3,707 2,020
3.9% 1.5%
9.4 9.9
3 days ago 5 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.

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 2021-10-04.
  • What's everyone working on this week (40/2021)?
    reddit.com/r/rust | 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++
    news.ycombinator.com | 2021-10-03
    Rust also has this, from what I understand:

      https://github.com/EmbarkStudios/rust-gpu
  • Is there a crate for CPU/GPU agnostic code in Rust (like Kokkos for C++)
    reddit.com/r/rust | 2021-09-29
  • What's the current state of GPU compute in rust?
    reddit.com/r/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
    reddit.com/r/rust | 2021-09-01
    For this, I'm hoping these folks will nail it soon https://github.com/EmbarkStudios/rust-gpu
  • Man, building a game sure takes a long time
    reddit.com/r/gamedev | 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
    reddit.com/r/rust | 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
    reddit.com/r/rust | 2021-06-15
    there is the rust-gpu effort, an alternative to OpenCL https://github.com/EmbarkStudios/rust-gpu
  • Is cuda all written in C++ why not RUST?
    reddit.com/r/CUDA | 2021-06-04
  • Rust-GPU: Making Rust a first-class language and ecosystem for GPU code
    news.ycombinator.com | 2021-06-04

crates.io

Posts with mentions or reviews of crates.io. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-22.
  • Easy to use, fast, git sourced based, statically linked C/C++ package manager.
    reddit.com/r/cpp | 2021-10-22
    Linkage type has nothing to do with versioning of packages built from source. What exactly am I supposed to see at crates.io or NPM?
  • How can we make sure this doesn't happen with Crates.io?
    reddit.com/r/rust | 2021-10-22
    2FA and "think before pasting into your .toml file" are great, but there might be a better option, which doesn't rely on the authors of crates.io (and thus - the website itself) to be compliant with a set of stricter rules, which at the end of the day, don't guarantee anything, other than the only compromised libs will come straight from whomever happens to compromise the crates.io itself.
    reddit.com/r/rust | 2021-10-22
    It is outrageous that crates.io doesn't even let me search by author as a way to find work by trustworthy groups/authors.
    reddit.com/r/rust | 2021-10-22
    Step 1: The maintainers of crates.io should listen to security professionals proactively :)
  • Observations and questions about libaom and ffmpeg
    reddit.com/r/AV1 | 2021-10-21
    The rewrite has been done for months now. Also, there is a release on crates.io, just not on GitHub (yet). The code itself is completely ready, the main challenge is just creating automated builds, especially for Windows.
  • rs_merkle: an advanced hash tree library for Rust
    reddit.com/r/rust | 2021-10-18
    I just took a very quick look (I am not familiar with that use case so I can't comment on the API and functionalities), it seems nice and well documented. The one, superficial, thing I would do is add a code example (maybe one of those on the main page of the doc) to the readme / page on crates.io.
  • Deadpool 0.9 released - dead simple async pool for connections and objects of any type
    reddit.com/r/rust | 2021-10-18
    I just published `deadpool 0.9` and the `deadpool-*` crates to crates.io:
  • Security of crates.io
    reddit.com/r/rust | 2021-10-15
    You don't. Most of the folks I've talked to run an internal mirror. Some do it by manually sneakernetting updated crates over to the mirror on the isolated network. Some do it by having the mirror and dev resources on a connected network, but have the mirror server be a proxy as well - when the crate isn't in the mirror the proxy fetches it from crates.io, then scans it, then stores it on the mirror and then provides to the requestor. I haven't used that myself, but it's how it was described to me.
  • Agora 0.1.0 released: Rust web server for selling for sats using LN
    reddit.com/r/rust | 2021-10-14
    Agora is also the name of the DSL used to describe query fees for GraphQL in The Graph. https://github.com/graphprotocol/agora. Seems I should have published to crates.io earlier. Lesson learned.
  • RUST
    The way Rust heavily encourages things like Option and Result over sentinel values in libraries also improves the exception safety of programs using a library. Not to mention every library (on the official crate registry, at least) is documented in the same format, and in an easily-discoverable way.

What are some alternatives?

When comparing rust-gpu and crates.io you can also consider the following projects:

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

wgpu-rs - Rust bindings to wgpu native library

rust-notes - My Rust learning repository. :crab:

gtk4-rs - Rust bindings of GTK 4

embassy - Rust Embedded async executor and HALs

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

cargo-crev - A cryptographically verifiable code review system for the cargo (Rust) package manager.

Cargo - The Rust package manager

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

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

webview_rust - [wip] Rust Bindings to webview