
The Complete Guide to macOS Kernel Internals
A map of the XNU kernel behind macOS: Mach tasks and ports, the BSD layer, IOKit, system call entry, virtual memory, security layers, extensions and boot.
Everything you need to level up your coding skills.

A map of the XNU kernel behind macOS: Mach tasks and ports, the BSD layer, IOKit, system call entry, virtual memory, security layers, extensions and boot.

Create an OpenGL 3.3 core window and context with SDL 3.2 in C, load functions with glad, handle the quit event, and clear the screen each frame.

Build and load a design for a Lattice ECP5 board such as the ULX3S with synth_ecp5, nextpnr-ecp5, ecppack and openFPGALoader, with an LPF constraint file.

Type 1 hypervisors run on bare metal and type 2 run inside a host OS. See the real differences, where KVM falls, and which one fits your work.

One byte too few for the terminating NUL is enough to corrupt memory. See the common off-by-one patterns in C strings and how to write them correctly.

Learn what registers, the ALU and the control unit do inside a CPU, with a small C model of an 8-bit ALU and its status flags that you can read line by line.

Write, run and debug your first GStreamer pipeline with gst-launch-1.0: sources, converters, sinks, properties, caps filters and the -v and -e flags.

Switch a socket to non-blocking mode with fcntl and O_NONBLOCK, or set it atomically with SOCK_NONBLOCK and accept4, and learn the flag mistakes that bite.

Start threads with pthread_create, wait for them with pthread_join and check the error codes correctly. Includes a complete C program and the mistakes to avoid.

What a make rule is made of: the target, its prerequisites and the recipe, how make walks the dependency graph and decides what is out of date.

Learn the Memcheck leak categories, definitely, indirectly, possibly lost and still reachable, with a sample program for each and a fix-first order.

CICS is IBM's transaction server for z/OS. Learn how a transaction ID starts a task that runs a program, and how regions, resources and the CSD fit.
We send one email when a new post is published. No spam.