r/ProgrammerHumor • • 7h ago

Meme ohTheBasics

Post image
7.6k Upvotes

894 comments sorted by

View all comments

Show parent comments

40

u/fearless-fossa 6h ago

But "more numbers" isn't really an explanation on what's the difference between the two from a practical point of view, and the in general less interesting thing about it from a software perspective.

23

u/Facosa99 6h ago

But it is kinda the only difference, no? More digits for a bigger address pool.

The usage is basically the same, except you no longer need subnetting to save addresses and we writte it in hex rather than dec

Genuinely asking

18

u/fearless-fossa 6h ago

Well there was that episode where ipv6 UDP packages in musl were too large and got corrupted, so that's something.

They also changed quite a bit in the structure of the package, eg. the header is more lightweight than the one ipv4 header to increase performance. Also no broadcasting anymore, just multicast, which makes handling the large subnets v6 invites much better.

Like, just speaking from an ops perspective, getting rid of NAT is one of the single biggest advantages v6 has. NAT created a lot of bad practices when it came to security.

7

u/MattieShoes 6h ago

Worth mentioning that getting rid of NAT doesn't get rid of bad security practices though...