arthrop0d

Brief articles on varied topics.

compilers

12 articles tagged compilers.

  1. Compiler Escape Analysis

    How compilers prove objects can stay on the stack, reducing allocation and garbage-collection cost while limiting unnecessary sharing.

    compilersperformance

  2. Static Single Assignment Form

    How SSA gives each value one definition and uses phi nodes to merge control-flow paths for simpler compiler optimization.

    compilerscomputer science

  3. Go Escape Analysis and Stack versus Heap Allocation

    How Go’s compiler tracks references to place values on goroutine stacks or the heap, and why the choice affects allocations, garbage collection, and speed.

    golangcompilersperformance

  4. Static Single Assignment Form and Phi Functions

    SSA gives each computed value one name and uses φ-functions to make control-flow joins explicit for simpler compiler data-flow analysis.

    compilers

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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