Get the latest tech news

Ruby 3.4 Highlights


AKA 'How I spent two hours hyperfocused on an RFC I'd never heard of' Alright, you know the drill. The Ruby team do the hard work of putting together a new version packed with features and I pick my favourites and write about them.

In a nutshell, the RFC is an attempt at describing a way for clients to handle multiple IP addresses being returned by DNS queries, particularly in the context of a dual-stack (IPv4 and IPV6) network. RFC6555 talked in relatively high-level terms about what’s needed in an algorithm that uses a hostname to establish a connection in a dual-stack environment and made reference to an approach shared by Mozilla Firefox and Google Chrome at the time. One thing I really like about their approach is that they provide sensible default values for each of the tunable parameters of their algorithm, which were reached through empirical measurement of connection timings across a wide range of devices.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Ruby 3.4 Highlights

Ruby 3.4 Highlights