Parsing IP addresses quickly (portably, without SIMD magic) (opens in new tab)
Most programmers are familiar with IP addresses. They take the form of four numbers between 0 and 255 separated by dots: 192.168.0.1. In some sense, it is a convoluted way to represent a 32-bit integer. The modern version of an IP address is IPv6 which is usually surrounded by square brackets. It is less common … Continue reading Parsing IP addresses quickly (portably, without SIMD magic)
Read the original article