3 ms·
"There is active debate in the Community Group about whether or not this human-readable language should be the one that’s natively accepted by the API" https:/
by xxgreg 8y ago
"There is active debate in the Community Group about whether or not this human-readable language should be the one that’s natively accepted by the API"
https://lists.w3.org/Archives/Public/public-gpu/2018Nov/ https://lists.w3.org/Archives/Public/public-gpu/2018Nov/
- skohan 8y agoIMO there's no reason to adopt a text-based standard. WASM/SPIRV seem to be a step in the right direction: assembly is by default more compact and less ambiguous than a high level language represented as UTF-8 characters. Let programmers work with whatever high-level language they prefer, and compile it down to a consistent, compact assembly representation to transmit it over the network.
- pizlonator 8y agobinary code formats are not more compact than text formats. SPIR-V is particularly fat - you need four bytes to refer to a variable, which is less than what you need in minified source. WHLSL is a great compilation target so it doesn’t prevent you from using whatever language you like.