RSPIRV: Google's Rust Implementation Of SPIR-V
Written by Michael Larabel in Google on 11 February 2017 at 08:19 AM EST. 15 Comments
Google developers have been working on a number of open-source projects in the Vulkan space and one of their latest is SPIR-V processing with Rust.

RSPIRV is another project under the Google umbrella on GitHub. RSPIRV is a Rust implementation of SPIR-V module processing functionalities. SPIR-V, of course, being the intermediate representation/language used by Vulkan as well as OpenCL 2.1+ and can also be used in OpenGL.

The official SPIRV-Tools project from The Khronos Group is written in C++ while RSPIRV is effectively an entire rewrite of that in Rust. With Rust, of course, having better memory safety and concurrency features.

So far this project has a SPIR-V memory representation, a module builder, a binary module parser, and binary module disassembler. Still being developed is a module assembler, HLSL/GLSL to SPIR-V front-end, and SPIR-V memory representation to LLVM IR.

RSPIRV is under the Apache 2.0 license and those wanting to learn more can do so via the GitHub project site.
Related News
About The Author
Author picture

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week