Glsl transpiler, interpreter?

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

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
  • 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.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • wgpu

    Safe and portable GPU abstraction in Rust, implementing WebGPU 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