0x0000 · HELLO
How the machine works, written down in C.
Notes on memory, data layout and the CPU, from someone writing their own C library, a virtual tabletop and a yuri catalogue. Examples assume x86-64.
LATEST
4.1Alignment, Data, and Memory
Like some of the previous topics, alignment has to do with how the CPU works and is less about C, but the examples are, of course, still in C.
3.6Pointer Arithmetic
When doing pointer arithmetic with a type, the increment in bytes is always the size of that type.
3.5Arrays
There are only two way of having a collection or array of elements in C.