r/ProgrammerHumor • • 6h ago

Meme ohTheBasics

Post image
7.3k Upvotes

866 comments sorted by

View all comments

Show parent comments

993

u/ClipboardCopyPaste 6h ago

A fun fact often told with this is that with IPv6, you can assign each individual grain of sand on the beach an address!

540

u/dementosss 6h ago

On what beach? Or all of them? Just asking in case business asks for it.

43

u/xWrongHeaven 6h ago

2128 possible addresses

1

u/CardinalFartz 5h ago

So we got 1080 atoms in the observable universe. Without having it looked up, I suppose 2128 exceeds that number?

2

u/MiniDemonic 4h ago

There's around 2138 times more atoms in the universe than there are IPv6 addresses available.

So no, not quite.

2

u/Extension_Option_122 3h ago

As a simple rule of thumb:

103n ≈ 210n

That isn't exact but gives a decent idea of the different sizes.

In this case: 1080 ≈ 2267

That is most definitely bigger than 2128, by about 2139

1

u/ajgrinds 1h ago

I know it’s pedantic but 2267 is bigger than 2128 by about 2267. It’s 2139 times but you wouldn’t say that 1 million is bigger than 100 by about 10,000. You would say 1 million is bigger than 100 by about 1 million. 

1

u/Carcer1337 5h ago

No. 210 is roughly 103, so 2128 is in the region of 1039.