Build a memory allocator.
Understand every byte.

For experienced programmers new to C: reserve aligned slices from a 64-byte arena, without crossing its end.

Edit starter C and run seven real compiled tests. No account required. Register after passing to save and continue.

Try the free lesson

Join the full-course waitlist →

Proposed price: $29 once. No payment taken. The full course is not available yet, and no launch date is set.

What an allocator keeps track ofConcept illustration
A simplified layout, not to scale. One possible design stores a block’s size and allocation state beside its payload. The bookkeeping is part of the heap, too.

The course we’re building

Build a small educational allocator in C, one tested step at a time. The planned format pairs focused explanations with short implementation tasks and runnable tests.

Lay out the bytes

Work through pointers, alignment and block metadata. Connect the C representation to what is stored in memory.

Find and split a block

Follow a free list, choose a block and split it when there is enough room for another header and useful payload.

Make space reusable

Free blocks and coalesce adjacent space. Use small tests to reason about fragmentation and allocator invariants.

An educational project—not a production replacement for malloc. The free limited preview now covers alignment, allocation, metadata, free, splitting and coalescing, followed by a combined fixed-arena allocator suite. The full course is still being built.

Join the waitlist

If this is something you’d want to learn, join the waitlist. The full course is not available yet, and no launch date is set.

$29once, proposed

A proposed one-time price for the full course concept. No checkout, reservation, delivery commitment or release date.

We store only your email, consent version and signup time in our database. No sale or sharing for others’ marketing. Meta helps measure our own ads when a new signup is saved. You can opt out by replying to any message. Privacy details.

Before you join

Can I take a lesson now?

Yes. The first lesson is a free limited preview: edit C, run real compiled tests, use a hint—all without registration. Guest progress is unsaved. Create an account afterwards to import your code, verify it again, and save completion. Start with alignment and a fixed byte arena, then unlock allocation, block metadata, free, splitting and coalescing by passing each prerequisite. Finish with a combined allocator suite and resume your saved progress on the dashboard. Creating an account does not join the full-course waitlist.

Who is the course for?

Experienced programmers who are new to C and want to understand memory management by implementing a small allocator. The proposal assumes familiarity with programming, not prior allocator experience.

Does joining the waitlist promise access?

No. It records interest and permission to contact you about the concept. It is not a purchase, and it does not promise that a course will be made or delivered.