Ecosystem: libc and POSIX
C 没有语言自带的运行时,只有 libc 这层事实环境:glibc、musl、bionic、newlib、uClibc-ng 与 Windows CRT 各自决定哪些接口可见、哪些 ABI 不能互换。
C 没有语言自带的运行时,只有 libc 这层事实环境:glibc、musl、bionic、newlib、uClibc-ng 与 Windows CRT 各自决定哪些接口可见、哪些 ABI 不能互换。
Ext4, ZFS and journaling: how a file survives a crash and what fsync actually promises.
epoll, io_uring and zero-copy: the readiness and completion models behind a network server.
Virtual memory, paging and segmentation: the address space, the page table and the cost of a miss.
Scheduling and context switching: what the OS shares between execution units and what it does not.
C 程序从翻译单元到进程要经过符号解析、重定位、静态或动态链接与装载,本页给出这条链上每一步的判据、命令与故障定位顺序。