home | articles | links | fun | about
Up to: Quick math and science observations

compiler ideas

idea of programming modules... don't need to recompile. just relink.

abstraction... know we are going to jump somewhere. only replace the peice we need.

use a linker.

  1. put code and data modules symbollically into memory
  2. determine addr. of data and instruction labels
  3. patch internal and external references.

faster to patch code than to recompile entire thing.

like an editor: find old addresses, replace with new ones.