4 ms·
I tried to post a comment on his blog, but it's inaccessible. Short version: pick a systems programming project to learn C. I think implementing a memory alloc
by scott_s 18y ago
I tried to post a comment on his blog, but it's inaccessible.
Short version: pick a systems programming project to learn C. I think implementing a memory allocator is a good one. You can code a brain-dead simple memory allocator in less than a few dozen lines. It will perform horribly and waste resources, but it's still functionally complete. As you learn more, you can make the allocator more sophisticated.
(Although I'm biased since memory allocation was a research project of mine.)