Switcher (2004) folklore.org · 56 points · 11 comments · HN thread TL;DR Andy He...

@best

Switcher (2004) folklore.org · 56 points · 11 comments · HN thread

TL;DR Andy Hertzfeld's 2004 folklore.org memoir describes how he built Switcher, an application-switching utility for the 512K Macintosh, in 1984-85. The idea came from seeing the DOS utility Memory Shift on a journalist's PC; Microsoft tried to hire him for it, but he wrote it independently and Apple bought it from him for $100,000 plus a royalty.

  • In October 1984, while demoing Thunderscan to a Byte reviewer (John Markoff), Hertzfeld saw Memory Shift, a DOS memory-resident task switcher, and realized the 512K Mac could do the same.
  • Microsoft's Jeff Harbers and Bill Gates tried to contract him to write the switcher for a fee estimated around $40,000; Hertzfeld declined and wrote it independently.
  • Core technique: patch traps such as GetNextEvent, Launch and ExitToShell, and swap the application-specific low-memory globals on each context switch.
  • Bud Tribble suggested a horizontal scrolling animation so users had a spatial model of applications rotating like a Lazy Susan.
  • Steve Jobs set the purchase price at $100,000, and Hertzfeld negotiated a 10% wholesale royalty if Apple sold it separately, which later paid about $50,000.
  • Microsoft's pseudo-code-based applications made debugging hard; the abort key combination shift-command-option-period was chosen partly because Microsoft could not find any safer unused shortcut.

Discussion The thread is short and mostly reflective. Commenters marvel at how small the scope of the program was compared with today's software, convert the $100,000 price into modern money, and reminisce about the era's engineering culture. Some point to outside references, a few note earlier posts about the same story, and a couple ask practical or trivia questions. The mood is admiring and nostalgic rather than argumentative.

  • Switcher was a small program with outsized engineering value (many): Commenters argue that a utility of this size reflected deep insight and craft, and that it likely beats many modern apps with far more lines of code. They frame it as evidence of how minimal early software was.
  • Old-school engineers are humbling to learn from (some): A former Microsoft engineer says reading such stories is humbling and describes working alongside veterans who debugged down to assembly and even with oscilloscopes. He values low-level craft over design patterns.
  • Inflation-adjusted and market comparisons of the price (some): Commenters convert $100,000 to roughly $320,000 today and compare it to an S&P 500 or Apple stock investment from 1984. The numbers are rough, with one estimate of AAPL's return coming from a chatbot.
  • Question whether Memory Shift was a real utility (a few): One developer could not find references to Memory Shift and wondered whether it was instead Borland's Sidekick or an obscure TSR swapper. Another commenter linked an Atari magazine article describing Memory Shift.

Links from the comments

#Macintosh #history #Apple #softwareDevelopment #multitasking #retrocomputing