-
I made a real allocator and it was hard
I finally did it! It took blood sweat and tears but it’s here now and I’m chuffed to bits! Please have a look, I’ve got loads of comments and it looks quite clean. https://github.com/largenumberhere/libc2/blob/main/lib2/malloc.c It’s not my first allocator but it is my first real one. I have made a bump allocator before which is…
-
Rust: Cursed hello world
Let’s start of with the simplest approach and work down from there… Well that’s it folks, time to pack-up shop. I’m joking of course, I think this is pretty solid and the maintainers must think so too because this is the file cargo generates when you ask for a new project. The benefits are enumerable,…