freenode

← digests

CFI, late-bound defaults, and linker hardening

Languages & Toolchains2026-11-28

Compiler and language forums spent the day on control-flow integrity, function syntax, and toolchain safety. A binutils hardening series and questions of dialect and AI-contribution stewardship sat alongside the language proposals.

Google proposes universal CFI for LLVM

Google has posted an RFC on the LLVM Discourse for a kCFI-based universal control-flow integrity scheme covering C++ vtables, linker trampolines, and wider deployment. The thread drew 19 messages from 11 participants. The design would extend existing kCFI rather than introduce a separate mechanism, so C and C++ projects that already rely on kernel-style CFI are the audience that should track it.

Python revisits late-bound argument defaults

PEP 671 is under discussion again on the Python Discourse, proposing => syntax for late-bound function argument defaults. The thread, 81 messages from 26 participants, covers implementation, interaction with inspect, and use cases. Late binding would change when default expressions run relative to the call, which is why library authors who depend on default evaluation order are following the revival.

Swift pitches called-once function types

A second pitch on the Swift forums would add @once and @atMostOnce function types so closures can hold noncopyable and non-Sendable values. Fourteen participants exchanged 50 messages. The types are aimed at ownership cases where a closure must not be copied or invoked more than the stated bound.

Binutils hardens ELF relaxation against underflow

A third revision of a patch series on the binutils list hardens 18 BFD ELF backends against memmove size underflow and heap corruption during in-place linker relaxation. Five participants discussed the series across 29 messages. The patches target a class of linker memory-safety bugs in relaxation, which is why downstream packagers of binutils should watch the review.

LLVM weighs an AGENTS.md for LLM contributions

An RFC on the LLVM Discourse proposes a top-level AGENTS.md to guide contributions made with large language models, citing existing project policies. Twenty participants exchanged 25 messages, and several maintainers questioned whether such a file would work, pointing to recent papers. The thread is about contribution norms for the LLVM tree, not a new compiler feature.

Experimental dependent types appear in a GHC fork

An announcement on the Haskell Discourse describes an experimental GHC fork with a -XDependentTypes extension and browser demos. int-index and others discussed implementation limits in a thread of 7 messages from 5 participants. The work is a fork, not a mainline GHC release, so it is a place to try the extension rather than a committed language change.

Git status may warn on stale submodule URLs

A patch series on the Git mailing list would make git status warn about stale submodule URLs. A maintainer gave a detailed code review in a thread of 13 messages from 4 participants. The warning would surface submodule URL drift that status does not currently call out.

MLIR Affine dialect seeks reviewers or faces removal

The MLIR Affine dialect maintainer has reported a review backlog on the LLVM Discourse and asked for reviewers or additional maintainers, or else the dialect may be removed. Five participants followed up across 7 messages. Projects that depend on Affine should treat the post as a stewardship risk, not only a call for volunteers.