# Rust-GPU/rust-gpu

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

Repository: https://github.com/Rust-GPU/rust-gpu
Canonical: https://ross.abutalabs.com/products/rust-gpu-rust-gpu
Homepage: https://rust-gpu.github.io
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: compiler, rust, shaders, spirv, vulkan, gpu-programming, graphics-programing
Last push: 2026-08-24T09:32:34+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 80, longevity 55
- inputs: {"age_days": 783, "days_push": 9, "days_rel": 138, "gap_med": 0, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3308, forks 119 (observed 2026-08-28T04:07:55.884261+00:00)

## What it is
A Rust compiler backend that emits SPIR-V, making Rust a first-class language for writing GPU shaders targeting Vulkan. It lets developers write graphics and compute shaders in Rust with a shared codebase for CPU and GPU.

## Use cases
- write vulkan shaders in rust
- compile rust to spirv
- gpu compute shaders in rust
- replace hlsl/glsl with rust for shaders
- share code between cpu and gpu
- cross-vendor gpu programming

## When to choose
- you want to write shaders in Rust instead of HLSL/GLSL
- you need Vulkan-compatible SPIR-V output across vendors
- you want a unified Rust codebase for CPU and GPU code

## When to avoid
- you need a production-ready, fully featured shader toolchain today
- you target NVIDIA-only CUDA workflows
- you need mature tooling and broad ecosystem support for GPU development

## Facets
- artifact type: library
- maturity: experimental
- function: compiler, graphics, sdk, build-tool
- domain: graphics, programming-languages, compilers, gpu-computing
- platform: rust, cross-platform
- tags: spirv, shaders, vulkan, gpu-programming, rust-backend, compute-shaders, game-development, gpu

## Member repositories
- Rust-GPU/rust-gpu (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:55.884261+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:42:37.231847+00:00, confidence not recorded.
  - readme: https://github.com/Rust-GPU/rust-gpu (fetched 2026-08-28T04:07:55.884261+00:00, sha efa6188f6e22)
  - homepage: https://rust-gpu.github.io (fetched 2026-08-29T09:35:10.715467+00:00, sha a841b9e3e63e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
