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
20082026
-
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 -
…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 -
…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…
comment by treeform · 2022-04-26 · in Compile time evaluation in Nim, Zig, Rust and C++ -
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.
comment by treeform · 2021-12-17 · in Building a simple room-based chat application in Nim (using HTMX) -
https://github.com/treeform/shady
comment by cb321 · 2021-12-17 · in Building a simple room-based chat application in Nim (using HTMX)