PinnedRyonald Teofilo·Sep 11, 2023Memory and Data Alignment in C++ — What is Misaligned Access?Data or memory alignment is a significant concept in software development that surprisingly isn’t discussed often. Mostly because of how…A response icon2A response icon2
PinnedRyonald Teofilo·Sep 11, 2023Cache Line Alignment in C++ — How It Makes Your Program Faster.As discussed in Memory and Data Alignment in C++, memory alignment is commonly used for optimisation. One of the methods is cache line…A response icon4A response icon4
PinnedRyonald Teofilo·Apr 27, 2024Writing Stable APIs with pImpl and Fast pImpl in C++If you’re anything like me who struggled with acne growing up, you may have also mistaken pImpl idiom as some clever wordplay on the facial…A response icon1A response icon1
Ryonald Teofilo·Dec 3, 2023Data Structures in C++ — STL ContainersUnderstanding data structures and how they are manipulated as we add, remove and modify data is important to help make better decisions…
Ryonald Teofilo·Oct 3, 2023Atomics in C++ — CAS and Memory OrderContinuing from the last post, we discussed atomic read, write and read-modify-write. However, we have yet to discuss arguably the most…A response icon3A response icon3
Ryonald Teofilo·Sep 26, 2023Atomics in C++ — What is a std::atomic?The radioactive part of C++, std::atomic was added in C++11 as a way to declare an atomic variable — a variable whose value changes…A response icon5A response icon5
Ryonald Teofilo·Aug 27, 2023Inline in C++ — What it has to do with the One Definition Rule.The inline keyword has got to be the most misunderstood keyword in C++. I remember when I first started, most online sources solely mentio…A response icon5A response icon5
Ryonald Teofilo·Aug 20, 2023Copy and Move Elision in C++ — What is RVO/NRVO?Copy and move elision is an optimisation technique used by many C++ compilers to avoid unnecessary copying and moving of temporary variab…
Ryonald Teofilo·Aug 6, 2023Template type deduction in C++ — Behind the magic.Template programming is a powerful built-in feature of C++ that most developers neglect to take the time to truly understand — mostly …A response icon1A response icon1
Ryonald Teofilo·Jul 30, 2023Static and Extern in C++ — What it really does to your program?C++ is a popular programming language, but it is also known to be difficult to grasp. One of the obscure concepts in the language is the …A response icon1A response icon1