Best of C Programming — July 2024
- 1
- 2
Godot·2y
Release candidate: Godot 4.3 RC 1
Godot 4.3 has reached the Release Candidate stage. All features are finalized, and critical regressions have been addressed. The community is encouraged to test this release candidate and report any issues. Highlights include Direct3D 12 support on Windows without the need for DXIL.dll and finalized support for Windows ARM64 devices. The release also includes numerous fixes for areas like audio, GUI, import, and rendering. Users are urged to backup their projects due to the pre-release nature of the software.
- 3
The Coded Message·2y
Recommended Reading for Programmers
This post provides a curated list of resources recommended for programmers, particularly those interested in Rust and systems programming. It categorizes resources for beginners, intermediate learners, and those looking to understand unsafe Rust. Additionally, it mentions essential readings for C and C++ programmers, notable articles, and classic texts.
- 4
Hacker News·2y
The Linux Kernel Module Programming Guide
The Linux Kernel Module Programming Guide outlines the method for creating, compiling, and loading dynamic modules in the Linux kernel. Kernel modules enhance the kernel's capabilities without requiring system reboots. Basic tasks include setting up a development environment, writing a 'hello world' module, and understanding kernel functions and logging. Key steps include using the modprobe, insmod, and depmod commands, and handling kernel headers. SecureBoot and kernel versioning challenges are also discussed.
- 5
- 6
- 7
The Coded Message·2y
C++ Network Programming: Study Questions and Practice Projects
The post covers various aspects of C++ network programming, including important study questions and practical projects. It provides a detailed look at C++ concepts like undefined behavior, RAII, and the STL, as well as performance optimization techniques and compiler flags. Additionally, it delves into operating system fundamentals and network protocols, offering practice projects such as echo servers, chat servers, file servers, and exchange systems.
- 8
- 9
- 10
- 11
- 12
- 13
Hacker News·2y
How to implement a hash table (in C)
Learn how to implement a simple hash table data structure in C. The post covers linear and binary search methods, the principles of hash tables, hash functions, collision handling through linear probing, and resizing the table when it's too full. Implementation details include creating, inserting, and retrieving items from the hash table, along with a demo program and discussion on potential improvements and performance comparisons.
- 14
- 15
- 16
Lobsters·2ySolving a math problem with planner programming
A mathematic and programming enthusiast discusses solving a specific problem using planner programming. The task involves finding the minimum number of steps to achieve 100,000 'a's in a document using only select, copy, and paste operations. Comparing a C++ BFS solution with one written in the planning language Picat, the writer explores the strengths and limitations of each approach. There is a focus on the intricacies of planning languages and their potential to simplify complex problems.
- 17
Hacker News·2y
rhysd/8cc.vim: C Compiler written in Vim script
8cc.vim is a C compiler written in Vim script, built on the ELVM architecture. It compiles C code into Vim script, which Vim can then evaluate. Although it is a toy project and much slower than traditional compilers, it demonstrates the flexibility of Vim script. It includes commands and functions for compiling and running C code from within Vim. Ideal for education or experimental purposes, but not for performance-critical applications.
- 18
80 LEVEL·2y
Code A DOOM-like Game Engine From Scratch In C With This Tutorial
Yuriy Georgiev has released a tutorial on building a DOOM-like game engine from scratch in C, covering basics of 2.5D pseudo-3D graphics rendering, movement mechanics, rendering, and world transformations. The tutorial is beginner-friendly and includes the source code. For more advanced topics, Yuriy recommends Pikuma's lectures.