Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:It will prety much suck for quite some time. (Score 4, Informative) 320

It's difficult to manipulate binary digits in hexadecimal, too. I don't see any advantage to this.

Every hex digit represents exactly 4 binary digits. If you flip a bit in a hexadecimal number, then exactly one hex digit will change. To know how it will change, you only need to remember the binary values of 0-F.

With decimal, you could flip a bit and change every digit in the number.

Comment Re:It will prety much suck for quite some time. (Score 4, Informative) 320

Using a hexadecimal address was pure stupidity.

Hexadecimal is used because a network is designated by an N-bit prefix, and it's *much* harder to manipulate bits in decimal, especially when each number is 16 or 32 bits long.

And using the colon for address separation is equally as stupid since that is how we designate port numbers.

Once you've gone to hexadecimal, using dots to separate the address leads to ambiguity. Is an IP address or a hostname?

it is pretty much unrememberable

With IPv6, your network will have its own 48 to 64-bit prefix. Once you remember that prefix, you can choose your suffixes to be as simple as you'd like.

you omit parts of the address ... but ONLY once!

You can only omit one run of zeros, because otherwise the length of each run would be ambiguous.

Comment Re:Maybe I'm being naive... (Score 1) 460

When IPv4 was first developed, subnets were only allocated on 8-bit boundaries. Since CIDR rolled out in the 90's, the subnet length is now arbitrary, and working with subnets requires doing tedious decimal-binary conversions in your head. It's a mess.

IPv6 uses hexadecimal, because a hex digit represents exactly 4 bits. This makes the CIDR math really simple.

Now, what if we used hex with dots? Is an IP address or a hostname? Hell if I know. That's why we use colons now.

Slashdot Top Deals

Just about every computer on the market today runs Unix, except the Mac (and nobody cares about it). -- Bill Joy 6/21/85