UIKit's UIViews in JavaScript, Part 1: Why?

This summer, I have been working on an experimental React concurrent mode profiler [https://react-scheduling-profiler.vercel.app/] as part of the inaugural batch of the MLH Fellowship [https://fellowship.mlh.io/]. One of the biggest engineering challenges I had was to optimize our canvas rendering. This was no small task.…

ELI5: Leader Election

In distributed systems, it is often necessary to elect a leader process whenever there is a need to coordinate tasks. We assume that such a system contains a symmetric network of processes, i.e. all processes in the network are indistinguishable, and anyone can be the leader. Note that these…