Exercises for Week 47

Exercises for Week 47#

Important

These exercises are in a draft status and will be updated before the week begins.

Exercise overview#

This week’s exercises focus on garbage collection - automatic memory management techniques essential for modern programming languages.

Topics to be covered#

  • Memory management basics: Stack vs heap allocation

  • Reference counting: Implementation and cycle detection

  • Mark and sweep: Tracing garbage collection fundamentals

  • Generational GC: Exploiting object lifetime patterns

  • Copying collectors: Semi-space and compacting collectors

Detailed exercises will be added soon.