Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
Fil-C enhances C/C++ memory safety by pairing pointers with AllocationRecord metadata.
The system uses source code transformation, bounds checking, and a garbage collector to manage memory. While performance costs exist, Fil-C provides a robust framework for debugging memory bugs, safe compile-time evaluation, and serves as an important practical example of pointer provenance in systems architecture.
OpenSSL 4.1.0 is a feature release adding DTLS 1.3, RFC 8701 GREASE, DTLS support in the SSL listener API, IKEV2 KDF, and initial Elbrus2000 (e2k) support.
It improves ML-DSA, ML-KEM, SHAKE, and AES-CBC performance on specified architectures and adds MSVC 2013 targets. It replaces tsget’s abandoned WWW::Curl::Easy dependency with Net::Curl::Easy, drops obsolete Windows targets and options, and has four known DTLS 1.3/listener issues involving retransmission, error reporting, and handshake aborts.
raylib 6.0 is its largest release, featuring a new CPU-based software renderer.
Major updates include redesigned fullscreen and High-DPI support, an improved 3D skeletal animation system, and a revamped build configuration system. New APIs for file and text management, added platform backends for Win32 and Emscripten, plus 70 new examples significantly enhance utility.
Unix’s early memory management evolved from simple linear allocators to explicit-region first-fit allocation and eventually conventional malloc/free.
Unix V4’s compiler used sbrk-based allocation without freeing; kernel malloc/mfree operated on separate coremap and swapmap regions for main memory and swap. Later code showed rollback, new-like macros, and garbage collection experiments. Hardware limits and simple program lifetimes shaped these designs, but explicit regions and lifetime-oriented allocation offered advantages largely lost as malloc/free became standard.
libsm64 provides a clean interface for integrating Mario's movement and rendering code from the SM64 decompilation project into various game engines.
By loading an official ROM at runtime for assets, it enables seamless use across platforms via C, Rust, Odin, and C# bindings, plus plugins for Unity, Godot, Blender, and web environments via WebAssembly.
Solod (So) is a strict subset of Go that compiles to standard C, offering systems-level control with stack-allocated memory.
It supports core Go features like structs, interfaces, and methods while remaining familiar to Go and C developers. Currently in active development, version 0.2 introduces networking and WebAssembly support, with more concurrency features planned.
Running Linux on an Atari Jaguar is a challenging technical project that requires using uClinux for the Motorola 68000 processor because the system lacks an MMU.
By leveraging XIP, custom console drivers via the DSP, and flat binaries, the author successfully ported a minimal kernel and BusyBox to the 64-bit console.
This interactive platform teaches GameCube reverse engineering by challenging users to decompile assembly code into byte-matching C.
It features a comprehensive curriculum ranging from basic idioms to complex ABI and optimization patterns, using the actual 2001 compiler to grade submissions against real functions from Star Fox Adventures.
GDN: use replay instead of rollback by am17an · Pull Request #31669 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Performance
A llama.cpp pull request proposes replacing GDN snapshot rollback with replay, coordinated across backends including CUDA, Vulkan, Metal, Hexagon, OpenCL, SyCL, and WebGPU.
On an RTX PRO 6000, replay reduced recurrent-state memory by 73–91% for 3–15 snapshots; 32 sequences at seven snapshots used 5.5 GiB instead of 37.4 GiB. Speed was roughly flat for speculative decoding and prefill, while batched verification improved up to 34.5%, depending on workload and batch size.
Linus Torvalds's first LLM-assisted patch series
C · Linux · Low-Level Programming · Performance · Operating Systems
Linus Torvalds posted his first LLM-assisted Linux patch series: ten patches that optimize folio lookup by detecting hot folios, delaying their release until after an RCU period, and performing folio data accesses under RCU.
When user copies cause no page faults, the fastpath avoids refcount acquisition. The changes produced an order-of-magnitude speedup in a read()-heavy benchmark, but reviewers found a race condition requiring further work.
qwen4exp : halve the indexer score memory by ServeurpersoCom · Pull Request #29825 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Performance
PR #29825 halves qwen4exp indexer compute-buffer memory in llama.cpp by scoring one head at a time, applying ReLU in place, and accumulating each head’s result instead of copying all scores.
CUDA memory falls from 3.0 to 1.5 GiB at 131k context/ub 2048 and from 6.1 to 3.0 GiB at ub 4096; at 262k/ub 4096 it drops from 11.7 to 5.6 GiB. Logits remain bit-exact, speed is unchanged, and full-model loading avoids OOM again.
Kermit, originally designed in 1981 at Columbia University to facilitate data transfer between incompatible systems, has evolved into a versatile tool.
Now open-sourced and maintained by the community, the new C-Kermit 11 release adds modern security, IPv6 support, and extensive testing, preserving the legacy of founder Frank da Cruz while modernizing the codebase for current cross-platform utility.
The error occurs because the c89cc compiler is a custom, minimal tool that does not support standard C headers like <stdio.h>.
It only understands the C subset it implements and cannot parse preprocessor directives like #include. The 'INTERNAL' error is likely caused by the parser encountering unsupported syntax, leading it to follow an invalid code path.
The BIO is an open-source RISC-V based I/O co-processor for the Baochip-1x SoC, designed as a compact alternative to the Raspberry Pi PIO.
By using an RV32E architecture with custom register queues, it achieves smaller logic area and higher clock speeds while enabling real-time performance through hardware-level blocking semantics and standard C/Assembly tooling.
lib0xc is a library of C standard library-adjacent APIs designed to improve memory safety and code reliability.
It uses macros, compiler extensions like clang's -fbounds-safety, and fixed-size data structures to catch errors at compile-time, providing a safer, more robust alternative to standard C functions while remaining source-compatible with existing projects.
GPGME 2.3.1 fixes a critical double-free vulnerability, CVE-2026-129975 (T8557), exploitable through an OpenPGP key with a crafted very long user ID.
A stale pointer retained after buffer reallocation can cause data exfiltration and potentially enable RCE. Software using GPGME before 2.3.1—including Gpg4win, GnuPG Desktop, mail and XMPP clients, Samba, and Flatpak—is affected. Users should update libraries and statically linked binaries; Gpg4win 5.1.2 includes the fix.
Kefir is an independent C17/C23 compiler developed by Jevgenij Protopopov.
It targets x86_64 architecture and System-V AMD64 ABI on Linux and BSD systems. Featuring a multi-level optimization pipeline and SSA-based IR, it aims to be a compatible, standards-compliant, and standalone C development toolchain, validated through extensive test suites including random code generation and real-world project builds.
The project introduces a scriptable 3D game engine for the Nintendo DS console, developed in C using libnds.
It empowers users to write and execute code directly on the console, replicating a handheld development experience. The engine utilizes the DS's 3D hardware to achieve 60 FPS rendering with a dual-screen setup: a touch-based code editor on the bottom and a real-time 3D viewport on the top. Its custom scripting language supports variables, loops, conditionals, and hardware-specific input registers. The engine features a software-rendered UI and a simplified execution model that processes scripts line-by-line. A key implementation detail is the use of GL_MODELVIEW for camera management and GL_QUADS for geometry. The developer provides a pre-built ROM and a pong game example to demonstrate the engine's capabilities in a retro-programming context.
Comparing memory safety CVEs between Rust and C/C++ is misleading because of fundamental differences.
In Rust, any library usage causing memory bugs without using 'unsafe' is considered a library soundness bug. In C/C++, due to language limitations, similar bugs are often dismissed as user error, making Rust's CVE reporting significantly more stringent and reliable.
Nintendo 64 typically struggled with additive blending because its RDP lacks color clamping, causing wrap-around artifacts.
By rendering effects into a 32-bit buffer at reduced intensity and using the RSP to convert and clamp these to a 16-bit display buffer, developers can achieve high-quality additive blending effects efficiently.