Finally able to talk about what I've been heads-down on for 6 months at @nvidia ๐ฆโก
We just open-sourced cuda-oxide โ an experimental rustc backend that lets you write CUDA kernels in pure Rust.
No DSLs. No FFI. No source-to-source step. Single source.
Short๐งต๐
๐ฆ .. ๐ Have been talking about proof-oriented programming for some time. I can finally share some pretty exciting stuff that just landed in cuda-oxide:
You can now write ๐ฝ๐ฟ๐ผ๐๐ฎ๐ฏ๐น๐ ๐๐ฎ๐ณ๐ฒ ๐ฎ๐ป๐ฑ ๐ณ๐ฎ๐๐ ๐๐ฃ๐จ ๐ธ๐ฒ๐ฟ๐ป๐ฒ๐น๐ ๐ฐ๐ผ๐บ๐ฝ๐น๐ฒ๐๐ฒ๐น๐ ๐ถ๐ป ๐ฅ๐๐๐.
@ApexTechOutlet The initial goal is to match the exact same safety contract Rust gives you on the CPU (not functional correctness) - memory bounds, data races, and barrier/concurrency safety, not the floating-point math itself.
since floats don't changeย whichย memory slot a thread touches
What we get in a nutshell:
โข ๐ฏ Specify memory and barrier safety in plain Rust
โข ๐ Prove it at compile time in Lean 4
โข โก Run a safe Blackwell GEMM at 2.118 PFLOP/s on B200
๐ ๐๐น๐ผ๐ด: https://t.co/dGHA3AM2lS
๐ป @nvidia cuda-oxide: https://t.co/kHVHAvtESa
@NVIDIAAI
This inspired me to try making a native CUDA/Metal version.
Highlights:
- 14x/24x faster than osam/pytorch on click
- 30-120fps masks on hover vs 1-10fps
- 66x faster segment everything (1.6s vs 105s)
- 2.9x/5.6x faster than pytorch/osam on apple silicon
cargo add sam3rs / pip install sam3rs
https://t.co/wJj26PuZBj
@LaneHenslee@NVIDIAAI@PraveenPerera Yup, on the roadmap (#1464)!
cargo-oxide already emits PTX/cubin artifacts + source-hash sidecars, and we're turning that into a first-class workflow so crates can ship prebuilt kernels (no CUDA toolkit needed for users).
I replaced ONNX Runtime, cuDNN and cuBLAS in speakrs with GPU kernels written in Rust. Same DER, about 60ร faster than pyannote on the same GPU. Read more full results, what went well and lessons learned, https://t.co/jbXlL5eiSB
I replaced ONNX Runtime, cuDNN and cuBLAS in speakrs with GPU kernels written in Rust. Same DER, about 60ร faster than pyannote on the same GPU. Read more full results, what went well and lessons learned, https://t.co/jbXlL5eiSB
https://t.co/QyTN1PvO4O
Research-grade only, but ~182 tokens per second with qwen3 8b w8a8 on an RTX 6000 Pro with all-Rust GPU kernels is nothing to sniff at either.
More to come later on this and some orthogonal things.
Still on a terminal kick - built a Google Maps renderer in my CLI!
From scratch - single megakernel in Rust/cuda-oxide for rasterization, renders through Kitty graphics.
My favorite talk from Scala Days 2026 was about baking refinement types right into the compiler.
Unlike libraries like Iron or Refined, it adds a built-in solver that verifies logic and math across multiple variables at compile time with zero runtime cost.
Moving from simple checks to full verification is how Scala's type system should evolve to constrain LLMs - AI code won't compile unless the math holds up.
The latest Burn release includes a migration of CubeCL's compiler infrastructure to use pliron!
https://t.co/PZoVUjdCX3
It's nice to see pliron being adopted by Rust compiler projects, with both CubeCL and cuda-oxide now building on it.