2 ms·
Does it matter? Most good static languages have a type system strong enough to express endianness as part of the data type, making conversion transparent
by nly 5y ago
Does it matter? Most good static languages have a type system strong enough to express endianness as part of the data type, making conversion transparent
- BiteCode_dev 5y agoIt matters for protocols and data formats.
- a_t48 5y agoPutting aside “good” vs “popular”, static typing doesn’t save you from accidentally tagging the wrong endianness for your external data sources. And it matters if you’re doing math with your CPUs native type.
- nly 5y agoIf you only have one definition of your data atructure and that definition encodes the endianness you're done, and you cannot misuse it.