Hacker News new | ask | show | jobs
by chownie 21 hours ago
> They did design it with humans in mind -- that's why it's in hex and why you can write only the start+end of the address, with the omitted middle being filled with zeros, for when you don't need the full 128 bits.

I would actually put ipv6's truncation rules as a point against human usability, the rules are weird and not at all intuitive. Am I expected to spot the format and go "Ah yeah of course, I truncate the largest left-most patch of zeroes and I can only do this once per address"? -- very human.

1 comments

The rules are easy enough: the address is split in two at the "::", and the part on the left goes at the start of the IP while the part on the right goes at the end.

There is no intuitive human way of telling trillions of devices apart from each other, especially when it also needs to be efficient both to allocate and for computers to route. Spend the 30 seconds learning this; it's not difficult at all.