Best of C ProgrammingNovember 2024

  1. 1
    Article
    Avatar of rich_tech123Tech Pioneers·1y

    End the war once and for all: C++ or Rust

    A C++ developer explores the passionate competition between C++ and Rust communities and seeks advice on whether to switch to Rust or continue with C++, particularly in systems development for game engines, code editors, and operating systems.

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

    It's not hard to make games in C++

    C++ game development is often seen as challenging and unnecessary, but it holds significant value. The author shares personal experiences from attending game jams and developing games from scratch using C++ and OpenGL. Despite pushback and discouragement from peers, the author persisted in learning complex aspects like 3D rendering and multiplayer. The narrative underscores that while using game engines like Unity or Unreal is common, developing games in C++ can offer deeper programming knowledge and skill development. The author encourages others to explore game development in C++ and highlights its benefits and learnability.

  3. 3
    Article
    Avatar of lobstersLobsters·1y

    The two factions of C++

    The C++ community is divided on the language's future, particularly over backward compatibility and modernizing the language. While the Evolution Working Group aims to maintain ABI compatibility and avoid disruptive changes, other camps, including key tech companies like Google and Microsoft, are moving towards modern practices and adopting languages like Rust. The divide is notably between older industries with legacy systems and modern tech firms with sophisticated automated tooling. The C++ committee appears committed to maintaining backward compatibility, but this has created tensions within the community.

  4. 4
    Article
    Avatar of devtoDEV·2y

    React Native New Architecture

    React Native 0.76 has introduced a new architecture, known as 'Bridgeless', which is now enabled by default. The new architecture eliminates the need for a bridge between JavaScript and native layers, allowing for direct communication. It introduces JavaScript Interface (JSI), new native modules (TurboModules), codegen, and a new renderer system (Fabric). These updates focus on enhancing performance, startup speed, memory management, and supporting synchronous execution. The new system aims to resolve issues in the old architecture, such as performance problems and jerky frames.

  5. 5
    Article
    Avatar of c_communityC/C++ Community·2y

    Building a Simple TCP Server in C

    Building a simple TCP server in C helps to understand socket programming and server-client connections. This project initializes a TCP socket on port 8080, binds and listens for client connections, and prints received data. The project uses a modular structure with CMake as the build system, including organized files for server logic and socket utilities. The setup allows easy extension and modification of components for scalable network applications.

  6. 6
    Article
    Avatar of c_communityC/C++ Community·2y

    Build Your Own Text Editor

    A tutorial on building a minimal text editor in C with around 1000 lines of code. The editor includes basic features such as syntax highlighting and a search function, and has no dependencies.

  7. 7
    Article
    Avatar of c_communityC/C++ Community·2y

    Looking for good GUI Library

    A new C++ learner is seeking recommendations for good libraries to use for GUI development after learning the basics for two months.

  8. 8
    Article
    Avatar of watercoolerWatercooler·2y

    Sounds legit!

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    Programming Performance Myths vs. Realities

    Writing high-performance code involves understanding which common performance tips are actually effective. The post discusses several common myths and realities regarding programming performance, including the cost of virtual function calls, the benefits of function inlining and compile-time polymorphism, and the complexities of auto-vectorization and memory usage. It emphasizes the importance of verifying performance claims through rigorous testing and the use of platform-specific optimizations.

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

    A Beginners Fears

    A beginner coder expresses fears about learning C++, feeling overwhelmed by large codebases seen on social media, and concerns about quitting if coding becomes too difficult. The post seeks reassurance from senior developers and coders, while also mentioning enjoyment of basic coding concepts like loops, switch statements, and if-else conditions.

  11. 11
    Video
    Avatar of communityCommunity Picks·2y

    Learn C# Beginner to Advanced FREE Tutorial Course! [12 HOURS - 2024]

  12. 12
    Article
    Avatar of evolvedevevolvedev·1y

    How to implement socket programming in C: Both server and client

    Learn how to implement socket programming in C by building both a server and client application with a detailed, step-by-step guide and code examples.

  13. 13
    Video
    Avatar of gamefromscratchGamefromscratch·2y

    Titan Engine - "The Most Powerful Game Engine ...In The World"

    Titan Engine, by ESS enthal, claims to be the most powerful game engine, although it's positioned more realistically as a good learning tool for C++ developers. It supports multiple file formats, has a comprehensive feature set including physics, networking, and a GUI system, and offers both free and commercial versions with a 5% royalty on sales. Despite its clunky UI, it's a straightforward entry point for developing 3D applications with C++.

  14. 14
    Video
    Avatar of lowlevellearningLow Level Learning·2y

    C, but for Offensive Security

    Learning C through capture the flag (CTF) exercises is recommended for those interested in cyber security. CTF helps understand how code can be broken and how to improve code safety as a result. Writing safe code requires knowledge of breaking code.

  15. 15
    Video
    Avatar of chernoThe Cherno·2y

    Is C BETTER than C++ for beginners? // Code Review

    A code review of a graphics engine written in C using the Vulkan API by a 13-year-old programmer. The discussion covers the merits of using C versus C++ for beginners, advice on build systems like CMake and Makefiles, and a deep dive into initialization, memory management, and code structuring practices.