3 ms·
Yes, binary data is good. It's better to explicitly serialize/deserialize it, though. That way endianness won't become an issue ever, and the programmer does no
by fsloth 10y ago
Yes, binary data is good. It's better to explicitly serialize/deserialize it, though. That way endianness won't become an issue ever, and the programmer does not need to be concerned over runtime memory layout of the structs.
- slededit 10y agoAt this point little endian has pretty much won. Even IBM with their POWER architecture now uses little endian for their machines targeting Linux. Its far more efficient to assume little Endian and let the weird machines do their own translations when loading the data.