Tempo is a specializer for C that works in two stages: an analysis phase and a specialization phase. The analysis phase examines a program together with information about which inputs will be known at specialization time, then performs binding-time, alias, and side-effect analyses to annotate the code for transformation, accounting for C's pointers and imperative features. The specialization phase then uses these annotations and the known input values to produce a specialized version of the program, either as source-to-source output at compile time or as generated binary code at run time.
phoenix.labri.fr
· 2026-11-23
A blog post revisits a pattern from Ben Klemens' 2014 book 21st Century C that uses C's designated initializers, combined with a struct and macro, to let function calls take optional, named arguments with default values. The technique relies on two C-specific behaviors not adopted by C++20: initializers can appear in any order, and repeated designators simply overwrite earlier ones, with the last value taking effect.
quuxplusone.github.io
· 2026-11-18
A blog post lays out a curated list of programming books the author considers essential, split into 'introductory streetfighting' and 'brawling combat' tiers. Recommended titles include works by Stepanov, Stroustrup, Dijkstra, Knuth, Warren, and the official Rust Programming Language book, alongside pointed dismissals of mainstream guides like Clean Code and Code Complete. The author frames the selections as texts for serious practitioners rather than casual best-of lists.
nick-black.com
· 2026-11-15
A developer follow-up to an earlier 'Why Zig Over Rust' post examines Zig against C, noting both languages share goals of being small, garbage-collector-free, and close to the machine. The author highlights how C's common pattern of using goto for reverse-order resource cleanup on error paths is replaced in Zig by defer statements, illustrated with a user-allocation example compiled using Zig 0.17 and clang on macOS.
mtsoukalos.eu
· 2026-11-13
A vulnerability was found stemming from musl libc's crypt function returning the sentinel string "*" when a password is too long to hash, which collides with the Unix convention that "*" denotes a locked account. Because sshd hashes login attempts for locked accounts to prevent timing attacks, this collision allows an unauthenticated user to obtain a shell—potentially as root—on musl-based systems lacking PAM, such as the official Alpine AWS image.
sunshowers.io
· 2026-11-06
Developer David Priver published a post explaining common mistakes programmers make when writing backward loops over unsigned size_t counters in C, including tautological comparisons and signed-integer workarounds that introduce portability or truncation issues. He presents an alternative idiom, 'for (size_t i = count; i--; )', which uses the postdecrement operator to keep the index in bounds and relies on well-defined unsigned wraparound behavior in C to terminate the loop safely.
davidpriver.com
· 2026-10-26
A developer's personal blog post demonstrates that GCC 16.2, when compiling C code that triggers undefined behavior (via std::unreachable() or a null pointer dereference), can generate assembly that executes a completely separate, never-called function. In one example, writing to a 'device_command' variable followed by undefined behavior causes the compiler to also emit code for an unrelated 'explode()' function that was never invoked in the source.
blog.habets.se
· 2026-10-25
A commentator argues that Rust's growing adoption carries risks, pointing out that the Rust Foundation was founded by Amazon, Google, Huawei, Microsoft and Mozilla, and that a board seat costs $325,000 per year. The piece also criticizes the trend of rewriting existing, mature software projects in Rust purely for the sake of using the language.
oxetene.net
· 2026-10-14
A technical blog post lists concrete cases where GCC and Clang do not conform to the ISO C standard by default, including treatment of the asm keyword as a reserved extension and GCC's hardcoded FLT_ROUNDS macro that ignores runtime rounding-mode changes via fesetround. The author also flags unfinished coverage of the standard's five floating-point pragmas as an area of ongoing non-conformance.
sebsite.pw
· 2026-10-13
A developer-focused article walks through arena allocators as an alternative to standard malloc/free memory management in C. It explains how typical manual allocation leads to problems like forgotten frees, memory leaks, and slow performance from many small allocations, before introducing arena allocators as a solution and detailing their implementation.
eliasebner.com
· 2026-10-11
A developer who learned Rust before C published a blog post listing surprising features of the C language, aimed at Rust programmers new to C. Topics include C's historically missing boolean type (added via stdbool.h in C99 and made a true primitive in C23) and its use of null-terminated strings instead of Rust's length-tracked string slices.
bd103.dev
· 2026-10-08
A technical explainer breaks down a widely used pattern in which a random 64-bit integer is reduced via the modulo operator to select among a fixed number of choices. It shows mathematically that when the number of choices does not evenly divide the range of the random number generator, some choices end up more likely than others, breaking the assumption of equal probability.
ersc.io
· 2026-10-06