Skip to content

Instantly share code, notes, and snippets.

@jorendorff
Last active October 7, 2023 23:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorendorff/16c47027b37437c3a602 to your computer and use it in GitHub Desktop.
Save jorendorff/16c47027b37437c3a602 to your computer and use it in GitHub Desktop.

The best trick in computing is called virtualization. It's a very general-purpose technique for doing astonishing things. Here's how it works.

  1. Take any picture.

  2. Draw an outline around something in the picture.

  3. Now replace either everything inside the outline, or everything outside the outline, with something totally unexpected. There is just one rule: your replacement must behave just enough like what was there before that nobody on the other side of the line notices that anything has changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment