Best of C ProgrammingApril 2025

  1. 1
    Article
    Avatar of hnHacker News·1y

    Free Interactive C Tutorial

    Learn-c.org offers a free, interactive tutorial for learning the C programming language. It is suitable for both beginners and experienced developers, with sections on basics like variables and loops, and advanced topics including pointers and dynamic allocation. Contributions to the site are welcomed.

  2. 2
    Video
    Avatar of lowlevelgamedevLow Level Game Dev·1y

    Why I moved my game to Javascript?

    After developing a game in C++ for 5 years, the author decided to migrate the project to JavaScript due to the rigid nature of the C++ code. The author highlights the ease of configuring libraries in JavaScript and the lack of compile errors. The game runs on Node.js and Electron, although it has slightly lower FPS compared to the C++ version. Future videos will cover optimizations and new features.

  3. 3
    Video
    Avatar of gamefromscratchGamefromscratch·1y

    Terrain3D -- Ultimate Godot Terrain System Finally Released

    Terrain3D, a highly anticipated terrain system for Godot, has reached its 1.0 release. This C++ optimized extension supports multiple scripting languages, boasts numerous features, and is well-documented. It allows users to create and manage terrain with ease, supporting height maps and procedural generation. The system also includes tools for AI navigation, painting textures, and handling complex terrains without harming performance.

  4. 4
    Video
    Avatar of gamefromscratchGamefromscratch·1y

    Flax Engine 1.10 - The Ultimate Underdog Game Engine Gets Better

    Flax Engine 1.10 introduces several updates and new features, including a new bloom implementation for improved rendering, enhanced animation tools, and significant optimizations to mesh vertex formats. It supports multiple platforms and scripting languages like C# and C++. The engine is similar to Unreal Engine but more indie-focused, offering a source-available model with community contributions.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    hanickadot/shorty

    Shorty library offers terser syntax for C++ lambdas, simplifying tasks like sorting, filtering, zipping, and transforming data. It allows for straightforward syntax to call external functions, cast data types, and remap indices. The library supports various flexible argument notations and options for capturing by reference or copy.

  6. 6
    Article
    Avatar of hnHacker News·1y

    codr7/hacktical-c: A practical hacker's guide to the C programming language.

    This guide emphasizes practical techniques for leveraging the power and flexibility of the C programming language, with a specific focus on experienced programmers. It highlights the author's journey from initially disregarding C to appreciating its simplicity and strength. The guide also covers the importance of selecting the right programming tools and platforms, particularly recommending Linux for C development, and mentions the inclusion of GNU extensions in the code examples.

  7. 7
    Video
    Avatar of gamefromscratchGamefromscratch·1y

    ezEngine -- The Easiest C++ Game Engine?

    ezEngine is an open-source and free 3D game engine primarily designed for ease of use in C++. It supports scripting languages like C++ and Angel Script, and includes a modular, plugin-based architecture that facilitates custom extensions. Key features include component-driven development, prefabs, visual state machines for game logic, and a variety of built-in tools and templates. As of the latest release, the engine is focused on Windows, but a Linux port is in process.

  8. 8
    Video
    Avatar of chernoThe Cherno·1y

    Making it MASSIVELY FASTER by using the GPU!

    The post discusses optimizing the rendering process of a pseudo-3D scene in a game by transferring computations from the CPU to the GPU. This transition involves using OpenGL and compute shaders to enhance performance significantly. The author shares insights into the process and highlights the importance of using the best tools for the task, illustrating the immense performance improvements achieved when leveraging GPU capabilities over CPU rendering.

  9. 9
    Article
    Avatar of theregisterThe Register·1y

    Microsoft subtracts C/C++ extension from VS Code forks

    Microsoft has restricted the use of its C/C++ extension for Visual Studio Code, rendering it incompatible with VS Code forks like VS Codium and Cursor. This enforcement of licensing terms, which had not previously been strictly upheld, disrupts developer workflows and sparks concerns over Microsoft's competitive practices. Cursor is shifting to open-source alternatives to circumvent these restrictions, while some developers call for regulatory scrutiny over potential anti-competitive behavior.

  10. 10
    Article
    Avatar of c_communityC/C++ Community·1y

    C Pro Tip

    C99 introduced the ability to initialize entire arrays using range syntax, which simplifies and shortens code.