New Playground: Memory Spy
I thought it was neat how this helped me understand that IPv4 addresses are represented in a in_addr_t using just 4 bytes.
And the dotted representation is just that: both of these may bring you back to HN, and be pingable.
I made a short Go thingy to help you play around with this if you'd like: https://play.golang.com/p/Rybs_gwzLym
Yup, IPv4 addresses are 32 bit unsigned integers which makes them very convenient to work with. That‘s also what that 18.104.22.168 syntax is about: Those are just the four individual bytes that make up the 32bit integer, separated by a period.
This is a nice tool, especially because nowadays I'm surprised by how many people don't seem to know what a debugger is...
Looks nice, but would benefit from longer examples (10+ lines) to really get a feel for things.
Crafted by RajatSource Code