3 ms·
IMO 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 ambiguo
by skohan 8y ago
IMO 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.