Offloading Rust To GPUs Proves Capable Of High Performance With Memory Safety - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
Offloading Rust To GPUs Proves Capable Of High Performance With Memory Safety
Written by Michael Larabel in Programming on 17 August 2026 at 03:30 PM EDT. 1 Comment
A new research paper published on LLVM offloading to GPU accelerators using the Rust programming language is talking up the prospects of making use of safe Rust code for GPU kernels while retaining Rust's memory safety and other advantages over C++ / CUDA / HIP.
The research paper by Manuel S. Drehwald, Marcelo Domínguez, Kevin Sala, Alán Aspuru-Guzik, and Johannes Doerfert finds that using LLVM's Offload infrastructure and the characteristics of the Rust programming language can still lead to competitive performance against native, hand-optimized CUDA and HIP C++ kernels. All of this resides within the LLVM back-ends and Rust compiler.
The benchmark results shared in the paper found that their LLVM offload implementation with Rust was generally competitive to native AMD HIP and NVIDIA CUDA solutions for most of the tests -- and winning some, losing others. The researchers are aware of other performance avenues to pursue for closing some of those gaps moving forward around the code generation and other IR differences.
Their front-end is considered safe and allows most GPU kernels to avoid using raw pointers.
Those interested in learning more about this LLVM offload work in Rust can see the paper on arxiv.org.
The upstream tracking for Rust offload support can be found via this Rust-Lang ticket.
1 Comment
Tweet
Mold 2.42 Delivering Greater Performance For This High Speed Linker<br>PoCL 7.2-RC1 Brings Official OpenCL 3.0 Conformance On RISC-V & x86_64 CPUs<br>Wild Linker 0.10 Released With GDB Index Support, Mitigation For Btrfs Performance<br>Picolibc 1.8.12 Brings Latest Improvements To This Embedded-Focused C Library<br>OpenBLAS 0.3.34 Improves Multi-Threading, Support For A Memory-Safe C Toolchain<br>GraalVM CE 25.1.3 Gets Native Image "Hello World" Program Down To Just 6.5MB
Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.
GNOME Designers Lay Out Some Of Their GNOME Shell Dreams<br>QEMU 11.1 Released With Numerous Improvements<br>OpenAI Brings ChatGPT Desktop App To Linux<br>Rsync 3.5 Released As "Extraordinary" Update To Fix 33 Security Issues<br>Comma.ai Launches A PCIe Gen4 x4 To USB4 Dock With Open-Source Firmware<br>Omarchy 4.0 Linux Distro Released With Desktop Shell Now Implemented Via Quickshell<br>CachyOS August 2026 Release Preps For Upcoming Server Edition<br>Linux 7.2-rc7 Released Following Another Exhausting AI-Driven Week
Offloading Rust To GPUs Proves Capable Of High Performance With Memory Safety
AMD Working On A New Backend For Improving ROCm Compute In QEMU/VMs
Linux 7.3 SMP Improvement To Help Reduce Latency, Improve Real-Time Performance
Firefox 154 Now Available With "Manage AI" Quick Action
Intel & AMD Power Management Driver Improvements Ready For Linux 7.3
KTransformers 0.7 Expands AVX-512 Support To Benefit AMD EPYC Servers
Con Kolivas Revives "-ck" Patches & MuQSS To Improve Linux Desktop Responsiveness
Linux 7.3 On PowerPC Now Supports In-Kernel Rust, Initial Power12 Enablement Begins
GNU Linux-libre 7.2-gnu Released Following More Driver Cleaning
Linux 7.2 Released With Faster I/O, New AMD & Intel Driver Improvements
GIMP Making Progress On New Project File Format After Nearly 30 Years With XCF
tlbi= Boot Option Submitted Ahead Of Linux 7.2 Kernel Release
Debian Marks 33rd Birthday As One Of The Oldest Maintained Linux Distros
AVX-512 xor_gen Continues To Look Exciting For Helping Linux RAID With Modern CPUs
Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations.
ARCTIC Fan Controller: The Best Fan Controller For Linux Desktops, Less Than $10 USD
Linux 7.1, Linux 7.2 Performance On The Intel Xeon 600 Series
The Beneficial Performance Gains Running The Framework Laptop Pro 13 / Core Ultra X9 388H With Linux 7.1+
Intel AMX Performance With The Xeon 678X Workstation CPU
Analyzing Fedora's Slow Performance On The Framework Laptop 13 Pro With Intel Panther Lake
The mission at Phoronix since...