Glsl transpiler, interpreter?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • naga

    Universal shader translation in Rust

    Not sure about on the CPU, but naga is a shading language transpiler you can write custom front/backends for.

  • rust-gpu

    🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

    rust-gpu is a project to give the Rust compiler a SPIR-V backend. naga could then convert that output to GLSL.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • wgpu

    Cross-platform, safe, pure-rust graphics api.

    Myself, I've been thinking about going a different direction: writing the code twice but also writing unit tests that test the GPU implementation. In wgpu it is easy to access the GPU without also creating a window, so at some point I'm going to try writing hybrid unit tests.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts