Fast, private email that's just for you. Try Fastmail free for up to 30 days.
Twenty-five years ago I was an intern at Apple, reviving hundreds of sample code projects and writing new ones to help illustrate how to write programs and use various APIs for Mac OS X developers. […] My favorite creation I called PThreadSorts, a demo that visualized sorting algorithms by scrambling and sorting image pixels. This weekend, with Claude as my AI assistant, I brought it back from the dead.
Karl was on his (I think) third internship at Apple when I started there in 2001—technically he was my first intern, though I hadn’t hired him.
I vividly recall his efforts to modernize sample code then, and I love that he’s doing it again, this time with the help of AI to do the “heavy lifting.” This was a fun read—slightly technical, but very approachable.
(One interesting tidbit: The sample project originally included several Apple marketing images to exercise the sorting algorithms. Today’s Apple includes images created especially for sample code usage—it does not allow the use of any of its copyrighted or trademarked imagery, out of concern for losing legal protection. Apple was a very different company back then.)