[HN Gopher] Shadertoys Ported to Rust GPU
___________________________________________________________________
Shadertoys Ported to Rust GPU
Author : efnx
Score : 15 points
Date : 2025-04-12 20:27 UTC (2 hours ago)
(HTM) web link (rust-gpu.github.io)
(TXT) w3m dump (rust-gpu.github.io)
| hackyhacky wrote:
| > While over-all better alternatives to both languages exist,
| none of them are in a place to replace *HLSL* or *GLSL*. Either
| because they are vendor locked, or because they don't support the
| traditional graphics pipeline. Examples of this include *CUDA*
| and *OpenCL*.
|
| Are CUDA and OpenCL really "better alternatives" to HLSL and
| GLSL?
|
| CUDA and OpenCL are compute languages; HLSL and GLSL and shader
| languages. And while one can theoretically do compute in a shader
| (and we used to!) or shaders in a compute language, I think it's
| dishonest to claim that CUDA is intended as an updated
| alternative to GLSL. It's simply apples and oranges.
___________________________________________________________________
(page generated 2025-04-12 23:00 UTC)