Tips and Tricks

C++ Coroutines for Async Development: Why You Should be Excited

C++ coroutines let you write high-performance async code that pauses and resumes naturally, eliminating the complexity of traditional multitasking approaches.  C++ coroutines make this possible by letting you pause and resume functions naturally, almost like hitting pause on a video and picking up exactly where you left off. What makes this exciting isn’t just cleaner code (though…
Read more
Tips and Tricks

C++ Pattern Matching: Should C++ Embrace Functional Programming Constructs?

Functional programming is influencing everything—even C++. Pattern matching is a clean and expressive way to check a value against a given structure or pattern. Pattern matching provides developers with a compact way to define their search criteria and specify actions for successful matches. Pattern matching unifies conditionals, destructuring, and type checks into a single, expressive…
Read more
CommunityTips and Tricks

C++ Modules: What it promises and reasons to remain skeptical

Introduction C++ has never been afraid of complexity—but even for a language known for performance and control, the #include system has seemed like a bygone from another era. Modules in C++ were a long-awaited upgrade aimed at cleaning up the mess of includes, speeding up build time, and making large-scale C++ development a bit less painful. Standardized in C++20 and expanded in C++23, modules…
Read more
Tips and Tricks

C++ versus Blueprints: Which should I use for Unreal Engine game development?

Introduction When programming game elements in Unreal, developers have two main options: develop using Unreal’s visual blueprint system or develop using the C++ language.  The Blueprint system in Unreal Engine is a powerful visual scripting tool designed to help developers create gameplay mechanics without needing to write traditional code. Introduced in Unreal Engine 4 to make game development…
Read more