Blog

Page 663 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Cycles in family tree software
graph

Cycles in family tree software

Published on September 2, 2023

# ๐ŸŒณ Solving Cycles in Family Tree Software ๐ŸŒณ ## The Dilemma: Dealing with Cycles in Family Tree Software You're the developer of a family tree software, using C++ and Qt, and you've encountered a unique problem - your software is encountering errors du

Cover Image for Compiling an application for use in highly radioactive environments
c#gcc

Compiling an application for use in highly radioactive environments

Published on September 2, 2023

# Compiling for ๐Ÿ’ฅhighly radioactive๐Ÿ’ฅ environments: Why your app crashes and how to fix it! ๐Ÿ˜ฑ๐Ÿ› ๏ธ So, you're in charge of compiling an embedded C++ application for a shielded device in a ๐Ÿ’ฅhighly radioactive๐Ÿ’ฅ environment? That's pretty intense! ๐Ÿ˜Ž But,

Cover Image for Why do we need virtual functions in C++?

Why do we need virtual functions in C++?

Published on September 2, 2023

# ๐ŸŒŸWhat Are Virtual Functions in C++ and Why Do We Need Them?๐ŸŒŸ If you've been diving into the world of C++, you've probably come across the concept of virtual functions. ๐Ÿค” But what exactly are they, and why are they important? ๐Ÿคทโ€โ™€๏ธ ## ๐Ÿง  Understandin

Cover Image for Why does changing 0.1f to 0 slow down performance by 10x?
floating-pointperformance

Why does changing 0.1f to 0 slow down performance by 10x?

Published on September 2, 2023

# **Why does changing 0.1f to 0 slow down performance by 10x?** Hey there tech enthusiasts! ๐Ÿ‘‹ Have you ever come across a situation where a tiny change in code causes a significant slowdown in performance? ๐Ÿš€ Well, today we're going to dive into a intrig

Cover Image for Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations with _mm_popcnt_u64 on Intel CPUs
performance

Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations with _mm_popcnt_u64 on Intel CPUs

Published on September 2, 2023

# Replacing a 32-bit loop counter with 64-bit: The Mystery of Crazy Performance Deviations with _mm_popcnt_u64 on Intel CPUs ๐Ÿ˜ฑ๐Ÿ’ป Are you ready for a tech mystery that will blow your mind? We're diving deep into the world of performance deviations when re

Cover Image for What are rvalues, lvalues, xvalues, glvalues, and prvalues?

What are rvalues, lvalues, xvalues, glvalues, and prvalues?

Published on September 2, 2023

๐Ÿ“ **Understanding Rvalues, Lvalues, Xvalues, Glvalues, and Prvalues in C++11** If you're a C++ developer, you may have come across terms like rvalues and lvalues, but did you know that in C++11, the two value categories expanded to five? ๐Ÿค” In this blog

Cover Image for What is the difference between const int*, const int * const, and int const *?
c#

What is the difference between const int*, const int * const, and int const *?

Published on September 2, 2023

# Understanding the Difference Between `const int*`, `const int * const`, and `int const *` <p>Do you ever find yourself getting confused about the difference between <code>const int*</code>, <code>const int * const</code>, and <code>int const *</code>? D

Cover Image for Is < faster than <=?
c#performance

Is < faster than <=?

Published on September 2, 2023

# Is < faster than <= in JavaScript? ๐Ÿค”๐Ÿ’จ๐Ÿ’ช ## The Performance Showdown โš”๏ธ When it comes to writing clean and efficient code, even the smallest details can make a difference. One such detail that often sparks debates among JavaScript developers is the us

Cover Image for What is an undefined reference/unresolved external symbol error and how do I fix it?

What is an undefined reference/unresolved external symbol error and how do I fix it?

Published on September 2, 2023

๐Ÿ“ **Blog Post Title:** The Mystery of Undefined References: Slaying the Unresolved External Symbol Error! ๐Ÿ—ก๏ธ ๐Ÿ“– **Introduction:** Hey there, tech enthusiasts! ๐Ÿ‘‹ Are you struggling with those pesky undefined reference/unresolved external symbol errors?

Cover Image for Why should I use a pointer rather than the object itself?

Why should I use a pointer rather than the object itself?

Published on September 2, 2023

# Why should I use a pointer rather than the object itself? ๐Ÿค” If you're coming from a Java background and have started working with objects in C++, you might have noticed that people often use pointers to objects rather than the objects themselves. This