Let’s first give some background on why I wanted to create this post. Local variables are stored on the stack, these variables are usually fixed size, which makes addressing them very easy. The rbp register stores a pointer to an address on the stack, called the stack frame, local variables are offset by some constant value relative to this stack frame. You can see the stack frame as the…
Hello internet! This website was created using hugo. It is hosted on a nuc running on nixos, it’s entirely declaritive! Have a look at the source code for the static part of the site over here: https://github.com/MartV0/personal-site , and the nix source code here: https://github.com/MartV0/homelab/ .
Here is a list of some of my projects! A compiler : A very simple compiler for a C-like language, from scratch. Didn’t use a linker or assembler, just rawdogging the elf bytes. Still a work in progress, but I already learned a lot during this project. sssh : A small ssh like client and server, implemented in rust, featuring quantum safe encryption. Made for a university assignment. My…