Write CUDA GPU kernels in pure Rust. No DSL. No bindings. Just Rust to PTX.
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story. The source provided limited text, so this summary is brief.
Why it matters
Rust developers can finally write NVIDIA GPU kernels without C bindings or DSLs, though the experimental project is years from replacing CUDA C in production.
NVIDIA Labs has released a research project called cuda-oxide that lets programmers write GPU code in the Rust language directly. Normally, GPU programming requires writing code in C, Nvidia's own language, or a custom mini-language. Cuda-oxide instead compiles ordinary Rust, including closures and error types, into PTX, the intermediate format Nvidia GPUs run. It is experimental and not ready for production, but teams already using Rust can try it today.
Cuda-oxide, an experimental Nvidia Labs project, could eventually let Rust-heavy teams write GPU code without maintaining C bindings or teaching engineers a separate GPU language. The trade-offs today are significant: it is explicitly not production-ready, has no stable install, and does not replace CUDA C. Competition matters here too, Rust GPU alternatives like bindgen wrappers and DSLs already exist. Worth a weekend evaluation, not a budget line.
Cuda-oxide compiles Rust kernels annotated with #[kernel] attributes into PTX, Nvidia's GPU intermediate representation, using the existing LLVM backend with a new PTX target rather than a forked rustc, so kernels get standard Rust optimizations and full semantics including match, if let, closures, iterators and Result types. A companion cuda-oxide-runtime crate loads and launches the resulting .ptx files from host Rust. Examples like vector_add ship in the repo, but the project is unstable with no benchmark numbers provided.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.