Movatterモバイル変換


[0]ホーム

URL:


Learn Memory Management in C

Learn how to manually manage memory in C and build a garbage collector from scratch.

TJ

Author

TJ DeVries

TJ DeVries (aka "teej") has never worked at Netflix, but if you've heard of Neovim, well, he's a maintainer! It's really not a big deal. He's also a top telescope.nvim contributor and knows how to read, which is impressive. He used to work at Sourcegraph before becoming a full time coding educator and content creator.

Lane

Lane

Maintainer

Allan

Allan

Maintainer

Hunter

Hunter

Maintainer

Dan

Dan

Maintainer

Megan PFPDaniel PFPTheo PFP
8,109 learners from companies like
Google LogoHashicorp LogoStripe LogoMicrosoft Logo

24 Hours

of content

101 Addicting

lessons

Earn a certificate

of completion

Learn online

at your pace

What will you learn?

Memory management is something that every programmer needs to deal with and understand at some point.If you're used to working with languages and tools that handle itfor you, this course will teach you how all that works under the hood. You'll even build your own garbage collectors from scratch.This course will teach you the C basics you need for the course, but it's not a course about C, it's about memory.

Chapter List

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

Why settle for mediocrity?

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

dopamine-driven development

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Join over 500,000 students learning modern backend skills

Connect directly with them and others in our flourishing online community

15.2M

lessons completed

90K

courses completed

3.8B

xp earned

I earned my CS degree several years ago, but was unable to land a coding job. I've completed most of the learning path and I'm ecstatic to report I've started my first full-time software engineering role!

David Kennard profile image

David Kennard

Boston Technologies

Tennessee, USA

The knowledgable developers in the Boot.dev Discord helped me land my first job in just a month!

Megan Astraus profile image

Megan Astraus

Strongmind

Arizona, USA

As a Head of Data Science at a consulting company, I'm always looking to improve my skills. After completing almost all Boot.dev has to offer, I can say it's the ideal choice for backend training.

Isaac Flath profile image

Isaac Flath

Centriam

Washington D.C. USA

I've been working as a postdoc, and ever since getting my feet wet with code I have been interested in transitioning into tech. I recently completed the back-end path on Boot.dev and just landed my first professional development job!

Theo profile image

Theo

Freie Universität Berlin

Connecticut, USA

As a senior dev, the Boot.dev courses have helped me land my first Go job at Ardan Labs!

Daniel Gerep profile image

Daniel Gerep

Ardan Labs

Cássia Brazil

orview more reviews

Frequently asked Questions

Got questions? We've got answers

It's completely up to you. The time it will take you to be "job ready" will depend on how much you already know, how often you study, and how long you study for. That said, the backend career path takes many peopleabout 12 months.

Absolutely! If you built it, use it. You'll build several personal projects while completing our curriculum, and our final course about finding jobs will show you how to construct a job-ready portfolio.

We're not a $10,000 bootcamp.

We're not a $50,000 university degree.

We are a self-paced, gamified online learning platform for back-end web development. You can learn with us for the price of a gym membership.

You can demo the first few chapters of each course with full interactivity, but after that you'll be in "guest mode" or "read only" mode. In guest mode you won't be able to complete lessons, take quizzes, or do the interactive parts of the courses.

As a paid member you get access to everything.

You can read all aboutour methodology here. In a nutshell, we're laser focused on teaching backend-development, which is somewhat of a rarity in online learning. We're also focused on solving what we believe is the hardest problem with online learning: boredom.

If you prefer coding rather than watching, and your struggle with online learning is staying motivated and engaged, we think you'll like learning with us.

We absolutelyhate dark patterns, so we've made it easy to cancel your subscription any time. You can cancel your membership any time from yoursettings and you won't be billed again.

If for any reason you feel you aren't getting enough value out of the platform, we don't want your money. We have a simplereturn policy. Justcontact us within 30 days of your purchase you're entitled to a full refund.

Yes! We believe in being as fair as possible to learners around the world, and that means pricing that reflects respective earning power.

If you're seeing pricing in anything other than USD, then you're already seeing discounted pricing for your country. If you're not seeing discounted pricing, but you are from a country with lower purchasing power, pleaselet us know and we'll get you a discount.

Absolutely! We have team plans that let your manager pay for your membership and those of your team, while managing billing all in one place. To get started just check outthe teams page. You'll need to be logged in.

For sure, just check outthe gifts page. You'll be able to purchase a redeemable code that you can give to a friend.

Enter your code on theredemption page to activate your membership.

This is almost always because your bank is rejecting international transactions (we are based in the United States and use Stripe for payments). You should be able to contact the customer service department of your credit card company or your Bank and get the transactions approved or your card unlocked.

boot.dev © Boot.dev 2025

[8]ページ先頭

©2009-2025 Movatter.jp