5 ms·
Strings are always big endian because the most significant bit comes first when you compare them lexicographically.
by fanf2 6y ago
Strings are always big endian because the most significant bit comes first when you compare them lexicographically.
- Taniwha 6y agofew machines have full bit addressing, all modern GP machines I know of have byte pointers, not bit pointers. Some IBM systems do number the MSB bits of bytes as bit 0 - to confuse things they are nominally big/mixed endian
- johannes1234321 6y agoThat is for languages left-to-right. For Arabic and other right to left languages the story is different.
- nabla9 6y agoVisual ordering is not used much anymore. In the Unicode characters should be ordered logically (in the order they are interpreted) not visually. Then you use RLM or ALM to indicate right-to-left.