Tag
This article provides a detailed comparison of arena architecture in malloc() algorithms, discussing memory allocation problems in multithreaded programs and the evolution of frontend and backend designs in memory allocators.
Janet is a programming language designed for system scripting, automation, and embedding in larger programs, featuring a rich core library with built-in networking and PEG parsing.
The article explains how interactive programs like `less` and `fzf` maintain keyboard access when input is piped, detailing the use of file descriptors and /dev/tty for direct terminal communication.
The article describes the implementation of native inotify support in FreeBSD, solving file monitoring issues with the existing userspace library by moving inotify into the kernel for better performance and correctness.
Zig language performs well in game development, with seamless C interop and fine-grained memory control, suitable for developers who prefer low-level control. Although the language is still young, with issues like weak LSP and incomplete documentation, it is worth trying in 2025.
BLISS is a system programming language developed at Carnegie Mellon University around 1970, known for its typeless design and optimizing compiler.
The article explores using mmap to create a magic ring buffer where two contiguous virtual memory ranges map the same physical memory, and tests its compatibility with io_uring's registered buffers, finding that it works as expected.
The article introduces Linux restartable sequences (rseq), a kernel feature that enables thread-safe data structures without locks or atomics, achieving dramatic performance improvements on many-core CPUs. It provides a tutorial and demonstrates up to 43x speedup on a 96-core AMD Threadripper.