Factor's optimizing compiler generates machine code for x86 (32 and 64-bit), as well as PowerPC (32-bit only). The optimizing compiler is written entirely in Factor. Its implementation can be found in basis/compiler/
and basis/cpu/
. The optimizing compiler uses SSA form internally, and performs various optimizations, such as Type inference, Escape analysis, Register allocation, and so on.
Documentation:
Blog posts describing the architecture of the optimizing compiler:
Related blog posts:
Related Wiki articles:
This revision created on Fri, 17 Jul 2009 07:28:17 by slava