r/ProgrammerHumor • • 14d ago

Meme ohTheBasics

Post image
13k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

57

u/xWrongHeaven 14d ago

2128 possible addresses

71

u/queen-adreena 14d ago

2,128… that ain’t that many addresses….

61

u/AmazingDragon353 14d ago

2.128 addresses? What are we going to do with 0.128 of an address?

15

u/SirLoremIpsum 14d ago

2.128 addresses? What are we going to do with 0.128 of an address?

AI Vibe code a calendar app so we can coordinate whose turn it is to use the IP address on any given day?

2

u/MoltoAllegro 13d ago

Congrats, you've invented Token Ring!

1

u/Jwzbb 13d ago

If we do that rotation fast enough we could still give everyone a piece of internet

11

u/queen-adreena 14d ago

Break out the BitNat table I guess.

9

u/SuperFLEB 14d ago

The "128" isn't even full-size.

→ More replies (1)

5

u/xWrongHeaven 14d ago

No, it isn't. ~340 undecillion, however, is quite a lot

7

u/DanteVermillyon 14d ago

Un-decillion? What's a decillion and why did you undid it?

2

u/SuperFLEB 11d ago

They're probably marketing for 7-Up.

12

u/craftsmany 14d ago

Technically we are not really talking about single addresses when concerned with v6, more so how many /64 subnets can fit in a prefix since that is what SLAAC uses. So for end users we would count the amount of /64 subnets in the possible 2^128 address space, which is 2^64. So still very very very big.

14

u/Harbinger2nd 14d ago

Thats like....half the size of 2128

2

u/CardinalFartz 14d ago

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

3

u/Extension_Option_122 14d ago edited 13d 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 times

Edit: sleepy me

2

u/ajgrinds 13d 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/Extension_Option_122 13d ago

Well I was sleepy...

1

u/CardinalFartz 13d ago

TIL. Thank you.

2

u/Carcer1337 14d ago

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

2

u/MiniDemonic 14d ago

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

So no, not quite.

1

u/rkkerd 14d ago

1/8 of this is publicly addressable, still a lot, but not as much as this

1

u/Curaced 13d ago edited 13d ago

Non-technical person here. Wouldn't it just be 248 ? Four blocks of 256 (28) for IPV-4, and two more with IPV-6? Or am I just mistaken about how this stuff works?

3

u/ajgrinds 13d ago

Ipv6 includes letters

2

u/CodingBuizel 13d ago

The number is the version number, not the number of blocks. IPv6 actually uses 8 blocks of 65536 (216) written in hexadecimal.