Posts
2025
One of the largest performance overheads in Unreal is the need for actors and primitive components to draw something in a world. Today I want to show you a way to bypass these abstractions entirely and manually draw primitives to the world with minimal overhead.
Runtime polymorphism via virtual functions is the traditional way to achieve dynamic dispatch in C++, but it comes with overhead: vtable lookups, cache misses, and heap allocations. With C++20, we can leverage std::variant and concepts to create compile-time polymorphism that sidesteps virtual dispatch entirely.
Pointer arithmetic is one of C++’s most powerful low-level features, providing direct manipulation of memory addresses. While it can be dangerous when misused, understanding pointer arithmetic is essential for systems programming, implementing custom memory allocators, and writing performance-critical code.
Honestly, this has been covered in so many places, and I’m by no means a psychology professor. I have done my fair share of studying different learning and teaching techniques from when I was a flight instructor, though, so I’d like to share some thoughts on asking effective questions, especially in programming communities.
Hello! Today, I want to talk about a commonly misunderstood concept in programming: Move Semantics.
Starting a project with a friend can feel like the dream, shared vision, late-night brainstorming, the excitement of building something together. But money has a strange way of distorting relationships. When financial stakes enter the picture, priorities shift, values get tested, and even the strongest friendships can fracture.
We’ve all been there: