arthrop0d

Brief articles on varied topics.

compilers

8 articles tagged compilers.

  1. How Compiler Register Allocation Uses Interference and Spilling

    Register allocation assigns live intermediate values to CPU registers, building interference constraints and spilling selected values to memory when registers run out.

    compilersalgorithmsperformance

  2. Static Single Assignment Form and Phi Functions

    How SSA gives each value one definition, while φ-functions merge control-flow paths so compiler optimizations remain correct.

    compilerscomputer science

  3. Compiler Escape Analysis and Stack Allocation

    How compilers follow object references to decide whether an allocation can stay in a stack frame or must be managed on the heap.

    compilersperformance

  4. Rust Monomorphization and Static Dispatch

    How Rust generates type-specific code for generics, and why that improves call performance while increasing build time and binary size.

    compilersrustperformance

  5. Static Single-Assignment Form and Phi Nodes

    SSA gives each intermediate value one definition, while φ-nodes merge values from different control-flow paths for simpler data-flow optimization.

    compilersalgorithms

  6. How Linkers Resolve Symbols and Relocations

    How linkers turn object files into runnable code by matching symbols, fixing addresses, and coordinating position-independent code with shared libraries.

    compilerscomputer sciencesoftware engineering

  7. Compiler Escape Analysis and Stack Versus Heap

    Escape analysis predicts whether a value can outlive its function, guiding stack or heap placement and influencing allocation and garbage-collection costs.

    compilersperformance

  8. Static Single Assignment Form and Phi Nodes

    How SSA gives every assignment a distinct version and uses phi nodes to merge values when control-flow paths meet.

    compilerscomputer science

← All tags