Hacker News new | ask | show | jobs
by wyager 427 days ago
Had not heard of Slang, thanks for sharing.

It's interesting that Slang looks more like Rust than WGSL does, despite WGSL kind of being de facto "owned by" the Rust community.

2 comments

Not sure why you think WGSL is owned by the Rust community--it's clearly owned by the W3C. (That's part of why it moves so slowly.) WESL [1] is the community-owned set of extensions to WGSL that, while incomplete, promises to move it much closer to Rust.

[1]: https://github.com/wgsl-tooling-wg/wesl-spec

Not sure where you get that from, Slang is an evolution of HLSL with a bit of C# sprinkled on top.

Actually this is a divergence point with HLSL202x evolution, which aims to be more C++ like.

WGSL is the only shading language with Rust influence.