Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Boot.dev

Learn Memory Management in C

via Boot.dev

Overview

Stuck in Tutorial Hell? Learn Backend Dev the Right Way
Boot.dev teaches Python, SQL & Go through projects you won't want to stop. 25% off with code CLASSCENTRAL.
Get 25% Off
Learn memory management in C by working with pointers, stack and heap allocation, malloc, free, and a garbage collector you build yourself.

Syllabus

  • C Basics
    • Introduction to the basics of the C programming language
  • Structs
    • Understand how C structs work and how they're laid out in memory
  • Pointers
    • You thought pointers were hard? Wrong. Let's figure them out together.
  • Enums
    • Learn how to use enums (enumerations) in C to create a set of named constants.
  • Unions
    • Unions in C are not the same as they are in TypeScript. Let's grok C unions.
  • Stack and Heap
    • Understand the difference between allocating memory on the stack and the heap
  • Advanced Pointers
    • Let's practice some more advanced pointer concepts - like pointers to pointers
  • Stack Data Structure
    • Build a stack in C using structs and pointers and understand where the memory is allocated
  • Objects
    • Implement your own object system for later use in your garbage collection algorithms
  • Refcounting GC
    • Implement a simple reference counting garbage collector from scratch in C
  • Mark and Sweep GC
    • Implement a basic mark and sweep garbage collector and understand its tradeoffs with refcounting

Reviews

4.7 rating at Boot.dev based on 1205 ratings

Start your review of Learn Memory Management in C

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.