3 ms·
> for example WebGPU derived their shader language from Rust which is IMO unreadable by design The reason why typical Rust code is so unreadable is not because
by flohofwoe 2y ago
> for example WebGPU derived their shader language from Rust which is IMO unreadable by design
The reason why typical Rust code is so unreadable is not because the type is on the right side ;)
The same 'readability argument' could be brought up with HLSL and MSL too because of their similarity to C++ - "modern C++" code typically isn't very readable either unless the reader closely followed C++ development since around 1998 or so.
FWIW I consider WGSL syntax a pretty good balance between simplicity and convenience (much better than "GLSL 300 es" anyway).