TL;DR
Nvidia has released cuda-oxide, an early-stage Rust compiler targeting CUDA PTX. It allows developers to write GPU kernels in Rust, emphasizing safety and idiomatic code. The project is in alpha, with bugs and incomplete features expected.
Nvidia has launched cuda-oxide, an experimental Rust-to-CUDA compiler that enables developers to write GPU kernels in safe, idiomatic Rust code, compiling directly to PTX without relying on domain-specific languages or foreign bindings.
cuda-oxide is an early-stage alpha project that provides a rustc backend, translating standard Rust code into PTX, Nvidia’s intermediate GPU assembly language. The project aims to allow Rust programmers to develop GPU kernels with safety features inherent in Rust, such as ownership and traits, while targeting high-performance GPU execution.
The current release, version 0.1.0, is considered experimental and may contain bugs, incomplete features, and API changes. It supports writing kernels using attributes like #[kernel] and embedding device code into host binaries via #[cuda_module]. The project also facilitates asynchronous GPU execution, enabling composition of GPU work as lazy device operation graphs that can be scheduled across stream pools.
Why It Matters
This development is significant because it introduces a safer, more idiomatic way for Rust developers to target GPU acceleration without resorting to C or specialized DSLs. The ability to write GPU kernels in Rust could improve code safety, maintainability, and integration with existing Rust-based projects, potentially influencing future GPU programming paradigms.

Rust for GPU & CUDA Acceleration: High-Performance Compute, Tensor Kernels, and Parallel Workloads for AI, HPC, and Quant Finance
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Background
GPU programming traditionally relies on languages like C and CUDA C++, which lack the safety guarantees of Rust. Recent efforts have aimed to bridge this gap, but most still depend on foreign language bindings or DSLs. cuda-oxide represents a notable step toward native Rust support, leveraging a custom rustc backend to compile pure Rust directly into PTX. This approach aligns with Nvidia’s broader push to support diverse programming models for GPU compute, and comes amid growing interest in safe, high-level GPU programming languages.
“cuda-oxide is an experimental project designed to bring Rust’s safety and expressiveness to GPU kernels, directly compiling to PTX without intermediary languages.”
— Nvidia developer spokesperson
“Our goal is to provide Rust developers with a high-performance, safe, and idiomatic way to write GPU kernels that integrate seamlessly into their existing Rust workflows.”
— cuda-oxide project lead
CUDA PTX development tools
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What Remains Unclear
It remains unclear how mature the cuda-oxide compiler will become, whether it will support all CUDA features, or how well it will perform compared to traditional CUDA C++. The project is still in early alpha, so widespread adoption and stability are not yet assured.

GPU-Accelerated Computing with Python 3 and CUDA: From low-level kernels to real-world applications in scientific computing and machine learning
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What’s Next
Next steps include further development to stabilize the API, add features, and improve performance. The project team encourages community feedback and plans to release subsequent versions that expand capabilities and address bugs. Monitoring updates and community testing will be key to assessing its future viability.
Nvidia cuda-oxide compiler
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
Can I use cuda-oxide for production GPU development?
Currently, cuda-oxide is in alpha and not recommended for production use. It is primarily a research and experimentation project aimed at exploring Rust’s potential for GPU programming.
Does cuda-oxide support all CUDA hardware?
Support is limited to features available in the current alpha release. Compatibility with specific GPU models and features will depend on further development and testing.
How does cuda-oxide compare to traditional CUDA programming?
cuda-oxide offers a safer, more idiomatic Rust interface, but as an early alpha, it may lack some features, stability, and performance optimizations present in mature CUDA C++ development.
Will cuda-oxide replace CUDA C++?
It is unlikely to replace CUDA C++ in the near term; instead, it provides an alternative for Rust developers and a foundation for future innovations in GPU programming languages.