Blog

Page 737 of my articles, tutorials, and thoughts

Latest Articles

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

Cover Image for When to use virtual destructors?

When to use virtual destructors?

Published on September 2, 2023

# When to use virtual destructors? šŸ˜•šŸ”Ø If you've ever found yourself puzzled by the concepts of virtual destructors in object-oriented programming, you're not alone! Many developers struggle to grasp the importance and proper usage of virtual destructors

Cover Image for What is move semantics?

What is move semantics?

Published on September 2, 2023

# What is Move Semantics? šŸ˜• So, you've stumbled upon the term "move semantics" and your brain is going, "Wait, what? Is this some kind of funky dance move? šŸ’ƒ" Fear not, my tech-savvy friend! Move semantics is not about grooving to the beat, but rather a

Cover Image for Regular cast vs. static_cast vs. dynamic_cast
casting

Regular cast vs. static_cast vs. dynamic_cast

Published on September 2, 2023

# Regular cast vs. static_cast vs. dynamic_cast: Decoding the Mysteries of C++ Type Casting! šŸ§™ā€ā™‚ļøšŸ’« Are you a C or C++ programmer who has been bewildered by the different types of casts available? 😵 Fear not, for we are here to guide you through the maz

Blog | Matheus Mello