Skip to content
← All posts

February 2026 · Programming · Systems

Where does your code sit? Follow the memory

From assembly to vibe-coding: how you handle memory tells you exactly where you are on the low-level to high-level spectrum.

Lees in het Nederlands →

To understand the spectrum from low-level to high-level programming, and to see exactly where your code sits, look at how you handle memory.

Assembly

At the assembly level the concept of a "heap" does not really exist. You make a system call to the operating system (such as brk or mmap) and say: give me a page of 4,096 bytes. The OS returns a raw memory address in a register. That is your base pointer. Once you have that starting address, say 0x400000, you are responsible for every byte and every bit flip in that space.

C

In C, the standard library (usually glibc on Linux) handles the allocation logic for you through malloc, but you are still in charge of the object's lifecycle. If you allocate it, you must free it.

Rust

Rust goes a step further. It uses the same underlying "wholesaler", the allocator, but automates lifecycle management. Through ownership and borrowing rules, the compiler guarantees memory safety without manual work.

Java, JavaScript, Python

In managed languages you do not think about memory at all; the garbage collector handles it, and you focus almost entirely on business logic. Until you hit a performance cliff, your service cannot handle the load, and you start hunting for optimisation tricks. These languages are not for talking to the hardware. They are for talking to the runtime.

Low-code

Here you do not even talk to the code. Your only goal is to solve the immediate business problem, and the platform hides the entire execution environment from you.

LLM vibe-coding

Finally there is vibe-coding with an LLM. You state the problem and do not touch the solution logic at all. You are operating purely on intent.