Just another programming blog

Factual accuracy is not guaranteed

Tag: native

  • The HACK architecture sucks

    This title is clickbait slop, it’s actually quite neat but I have some critiques I’d like to share. Before that, I’ll give you some background. The Some Background The HACK architecture is an invention by Noam Nisan and Shimon Shocken. It is a part of the `Nand2Tetris` course series. It is a CPU specification which is both…

  • The Nand2Tetris virtual machine specification

    Today, I will unoffically document the Nand2tetris VM language. Let’s back up a bit – a short course I’m currently working on is nand2tetris project 7. It’s a lot of fun, it’s like a tour of the computer software and hardware stack. Don’t worry you don’t need to know anything about it, in this article…

  • 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,…