Hacker GitHub

← All repos

treeform/shady

View on GitHub ↗ ★ 200 Nim

Nim to GPU shader language compiler and supporting utilities.

5 mentions on Hacker News by 4 people: 0 stories, 5 comments · first 2021-12-17 · latest 2025-07-26

Mentions per year 5 mentions · busiest year 2021 (2)
20082026
  1. Nim too, as it can use Zig as a compiler. There's also https://github.com/treeform/shady to compile Nim to GLSL. Also, more generally, there's an LLVM-IR->SPIR-V compiler that you can use for any language that has an LLVM back end (Nim has…
    comment by arc619 · 2025-07-26 · in Rust running on every GPU
  2. …verbose. On GPU programming there has been a few projects that touch GPU programming, most notably https://github.com/treeform/shady
    comment by planetis · 2023-02-12 · in I learned seven programming languages
  3. …you write Nim to C or Nim to JS, it can also (in limited way) do Nim to GLSL GPU Shaders. See here: https://github.com/treeform/shady I am also working on a macro system similar to SWIG, where using a some macros one can write a Nim…
  4. See this as one of the examples: https://github.com/treeform/shady It makes debugging shaders much easier as you can use print statements and unit tests. You can also share code between CPU and GPU side.
  5. https://github.com/treeform/shady