Choosing the Right C Library for Embedded Systems: Newlib, picolibc, nanolib, and dietlibc

A look into specialized C standard libraries like Newlib, picolibc, nanolib, and dietlibc, designed for resource-constrained environments where standard libraries like glibc are too large or complex.

April 10, 2025

Arena-Based Allocation in Compilers

Arena-based allocation is a memory management strategy in which a large block of memory is pre-allocated, and then many small objects are quickly carved out from that block.

February 24, 2025

Understanding the C Runtime: crt0, crt1, crti, and crtn

The C runtime (CRT) is a collection of startup routines, initialization code, standard library support, and sometimes system call wrappers that form the environment in which a C program executes.

January 15, 2025