4 ms·
Numbers aren’t as easy as one would think because of the size of integers and endianness. Also, some languages need to convert their dynamically sized integers
by Someone 4y ago
Numbers aren’t as easy as one would think because of the size of integers and endianness. Also, some languages need to convert their dynamically sized integers to 32- or 64-bit C integers.
For arrays, multi-dimensional ones are tricky, as is returning them from calls.
And then, there’s structure, with C’s insistence that fields in a structure get stored in declaration order and structure padding.