Hacker News new | past | comments | ask | show | jobs | submit login

You mean the shading language? You should check out Metal the language is nice. The WebGPU shading language is close to it.



Not really, that was the initial proposal from Apple.

WebGSL doesn't share anything with the C++14 based Metal Shading Language.

https://gpuweb.github.io/gpuweb/wgsl.html

Actually it even seems to have a Rust flavour to it.


Where do you see the Rust influence?


Right on the first example,

    fn main() -> void {
        gl_FragColor = vec4<f32>(0.4, 0.4, 0.8, 1.0);
    }
There are more thorough the documentation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: