Best of C ProgrammingNovember 2025

  1. 1
    Article
    Avatar of hnHacker News·28w

    Snapchat/Valdi: Valdi is a cross-platform UI framework that delivers native performance without sacrificing developer velocity.

    Valdi is an open-source cross-platform UI framework from Snapchat that compiles TypeScript components directly to native iOS, Android, and macOS views without web views or JavaScript bridges. Battle-tested in Snap's production apps for 8 years, it features automatic view recycling, instant hot reload, full VSCode debugging, and flexible integration with existing native codebases. The framework includes a C++ layout engine, worker thread support, native animations, and type-safe bindings between TypeScript and platform-specific code.

  2. 2
    Article
    Avatar of phoronixPhoronix·28w

    The Linux Kernel Looks To "Bite The Bullet" In Enabling Microsoft C Extensions

    The Linux kernel is preparing to enable the -fms-extensions compiler flag in version 6.19, allowing Microsoft C extensions that permit anonymous tagged structs and unions. Two patches have been queued in kbuild-next after years of previous attempts. The change would enable cleaner code and potential stack space savings, with Linus Torvalds showing no opposition. The flag is supported by both GCC and LLVM/Clang compilers.

  3. 3
    Video
    Avatar of savvynikSavvyNik·27w

    Linus Torvalds — Speaks up on the Rust Divide and saying NO

    Linus Torvalds discusses the ongoing integration of Rust into the Linux kernel, acknowledging the friction and maintainer pushback it has created over the past five years. He defends the decision as necessary to prevent kernel stagnation and attract new contributors, noting his role has shifted from saying 'no' to encouraging maintainers to embrace new ideas. While Rust has generated controversy including maintainer resignations and debates over code review processes, Torvalds believes the disruption is worthwhile and that Rust is finally transitioning from experimental to a real part of the kernel, though it took longer than expected.

  4. 4
    Article
    Avatar of hnHacker News·29w

    zserge/grayskull: A tiny, dependency-free computer vision library in C for embedded systems, drones, and robotics.

    Grayskull is a minimalist computer vision library for microcontrollers and resource-constrained devices. Written in pure C99 as a single header file under 1000 lines, it requires no dependencies or dynamic memory allocation. The library provides grayscale image operations including filtering (blur, Sobel edges), thresholding (Otsu, adaptive), morphology (erosion, dilation), connected components, perspective warping, FAST/ORB feature detection for object tracking, and LBP cascades for face/vehicle detection. It includes PGM file I/O and uses integer-based operations optimized for embedded systems.

  5. 5
    Video
    Avatar of tsoding_dailyTsoding Daily·28w

    This Library is a Hidden Gem

    Explores libffi, a library that enables calling functions in dynamic libraries without knowing their signatures at compile time. Demonstrates loading shared objects with dlopen/dlsym, explains the challenge of passing arbitrary arguments across different ABIs (Application Binary Interfaces), and shows how libffi solves this by providing a cross-platform abstraction. Includes a practical example building a simple REPL that dynamically calls functions from loaded libraries by constructing function signatures at runtime.