A developer has created a demo of a single Rust codebase that runs on every major GPU platform, including CUDA for NVIDIA GPUs, SPIR-V for Vulkan-compatible GPUs, Metal for Apple devices, DirectX 12 for Windows, and WebGPU for browsers. The code is available on GitHub and uses various Rust features such as conditional compilation, newtypes, and traits to enable cross-platform GPU compute. The project aims to demonstrate that cross-platform GPU compute in Rust is possible. The demo implements a simple bitonic sort and shows that the same compute logic can run on all targets, written entirely in regular Rust.