Best of C++September 2025

  1. 1
    Article
    Avatar of devtoDEV·36w

    In Defense of C++

    C++ remains a powerful and relevant programming language despite common criticisms about complexity, safety, and being outdated. The language's perceived complexity can be managed by starting simple and adding advanced features only when needed. Modern C++ standards (C++20, C++23) continue to evolve with new features like modules and coroutines. While memory safety concerns are valid, they can be addressed through smart pointers and proper practices. C++ continues to power major systems from browsers to game engines, and rewrites to other languages often succeed due to architectural improvements rather than just language choice.

  2. 2
    Article
    Avatar of codeconfessionsConfessions of a Code Addict·35w

    Compiling Python to Run Anywhere

    Muna's founders built a Python compiler that generates optimized C++ code from unmodified Python functions, enabling cross-platform deployment without interpreters. The system uses symbolic tracing to create intermediate representations, type propagation to bridge Python's dynamic typing with C++'s static typing, and AI-powered code generation to implement thousands of library functions. Performance optimization happens through exhaustive testing of multiple implementation variants across different hardware, with telemetry data driving automatic selection of the fastest approaches.

  3. 3
    Video
    Avatar of chernoThe Cherno·36w

    C++ Application Architecture - A Mini-Series

    A comprehensive guide to architecting C++ applications using a modular approach that separates core reusable systems from application-specific code. The tutorial demonstrates building a clean architecture with an application system, window management, main loop, and layer-based functionality using OpenGL. Key concepts include creating a core static library for reusable components, implementing a layer system for custom behavior, and maintaining clean separation between framework code and application logic. The approach emphasizes simplicity and reusability, making it easier to create multiple applications without reimplementing core functionality.

  4. 4
    Article
    Avatar of lobstersLobsters·34w

    Linus Torvalds and the Supposedly “Garbage Code”

    A detailed analysis of Linus Torvalds' criticism of a RISC-V kernel contribution, examining the technical merits of helper functions versus explicit bit manipulation code. The author argues that proper helper functions with type casting and bit masking are safer and more maintainable than inline expressions, demonstrating correct implementations in both C macros and C++ constexpr functions.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·35w

    A Brief Introduction to SQLite

    SQLite is an underappreciated embedded database that runs directly in applications without server setup or configuration. It powers smartphones, browsers, and desktop apps worldwide. This tutorial covers SQLite integration through practical examples in C/C++, Python, and Java, including database design, low-level API usage, Flask web development, and JDBC implementation. The content emphasizes SQLite's simplicity and power for local data storage without the complexity of full database servers.

  6. 6
    Video
    Avatar of chernoThe Cherno·34w

    Layers - C++ Application Architecture Mini-Series

    Explores the layer system pattern in C++ application architecture, demonstrating how to organize different application states (like menus and gameplay) into separate, manageable layers. Covers layer lifecycle management, the layer stack concept, and practical implementation using vectors and unique pointers. Shows how layers can transition between states and coexist simultaneously, with examples of menu overlays and game state management.

  7. 7
    Article
    Avatar of infosecwriteupsInfoSec Write-ups·37w

    How to Ruin Your Weekend: Building a DIY EDR

    A detailed walkthrough of building a custom Endpoint Detection and Response (EDR) system called 'RottenTomato' from scratch. The project demonstrates kernel driver development, process monitoring through Windows callbacks, static analysis of executables, and DLL injection techniques for runtime monitoring. The implementation includes a kernel driver that intercepts process creation events, a static analyzer that examines binaries for suspicious characteristics, and a remote injector that performs user-space hooking to detect malicious memory allocations.

  8. 8
    Article
    Avatar of c_communityC/C++ Community·38w

    Released Loom v1.0.0 Beta - a fast, minimal text editor.

    Loom v1.0.0 Beta is a lightweight text editor built with C++ and Qt, weighing only 4.2MB. It features Gruvbox theming, Lua scripting support for plugins, syntax highlighting, multi-tab interface, and auto-formatting capabilities while maintaining minimal resource usage.