arthrop0d

Brief articles on varied topics.

computer science

19 articles tagged computer science.

  1. Python’s Cyclic Garbage Collector

    How CPython finds unreachable reference cycles, organizes collections by age, and affects object lifetime and process memory.

    pythoncomputer science

  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. TCP Slow Start and Congestion Window Growth

    How TCP uses acknowledgements to grow its sending rate, detect congestion through loss, and reduce the congestion window when delivery fails.

    networkingcomputer science

  4. Python’s Cyclic Garbage Collector

    How CPython finds unreachable reference cycles, uses generations to limit work, and introduces pauses while collecting them.

    pythoncomputer science

  5. TLB Shootdowns and Cross-Core Page-Table Invalidation

    How CPUs cache virtual-to-physical mappings, why page-table changes require cross-core invalidation, and where the performance cost comes from.

    operating systemsperformancecomputer science

  6. CPU Branch Predictors and Speculative Execution

    How history tables predict control flow, how CPUs execute ahead of branches, and why a wrong prediction flushes useful work.

    performancecomputer science

  7. CPU Memory Barriers and Memory Ordering

    How release and acquire ordering safely publish data between threads when cores and compilers do not observe operations in program order.

    concurrencycomputer science

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

  9. Python Descriptors: Properties, Methods, and Slots

    How Python’s __get__, __set__, and __delete__ hooks control attribute access and power properties, bound methods, and slot-based storage.

    pythoncomputer science

  10. Go Interface Values: Dynamic Types, Values, and Typed Nil

    Understand the type-and-value pair inside every Go interface and why an interface holding a typed nil is not itself nil.

    golangcomputer science

  11. CPython’s Cyclic Garbage Collector

    How CPython finds reference cycles that reference counting cannot reclaim, and how generations and thresholds decide when to collect them.

    pythoncomputer science

  12. Acquire and Release Memory Ordering

    How release operations publish prior writes to acquire operations without forcing every atomic access into one global order.

    concurrencycomputer science

  13. Bloom Filters and Probabilistic Set Membership

    Learn how Bloom filters use a bit array and multiple hashes to save memory while allowing false positives but not false negatives.

    mathematicsalgorithmscomputer science

  14. Memory Barriers and Concurrent Memory Ordering

    Memory barriers constrain compiler and CPU reordering so one thread can observe another’s updates in order, without making a whole operation atomic.

    concurrencycomputer science

  15. Go Interface Values: Dynamic Types, Values, and Nil Pointers

    Go interfaces pair a dynamic type with a value, enabling method dispatch while making typed nil pointers different from nil interfaces.

    golangcomputer science

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

  17. CPU Cache-Line False Sharing

    Learn why independent writes can invalidate each other’s cache lines, and how padding and data layout prevent coherence-driven slowdowns.

    performancecomputer science

  18. Python Descriptors and Attribute Access

    Understand how Python descriptors power properties, bound methods, and ORM fields by intercepting reads, writes, and deletion.

    pythoncomputer science

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