A fork() in the road


A fork() in the road

If you’ve ever worked at the OS system level, you’ve probably come across fork() in linux. It’s taught in introductory operating system courses and often held up as an elegenat solution. Not everyone shares that opinion, and some clever folks at Microsoft Research came up with a solid argument.

For reference you might also be interested in the Linux OOM killer which is one of the weird mechanisms fork spawned (pun intended). That particular bit of weirdness once literally drove me to drink.