Escaping dependency hell with the Tarjan Algorithm
We fought circular dependency chaos with hacks—until Mati found WhatsApp’s hidden fix: the Tarjan Algorithm. Clean, reliable, and fun to build on.
From Timestamp Manipulation to Custom Comparators: A Performance Story
While building chat ordering for WhatsApp chats in Volt, we had to choose between manipulating chat data or implementing a custom comparator. I explain how we moved away from an expensive timestamp-based approach and adopted a comparator that preserved data integrity, simplified restoration, and improved performance by 50x.