Blog

Page 704 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for What are the barriers to understanding pointers and what can be done to overcome them?
c#

What are the barriers to understanding pointers and what can be done to overcome them?

Published on September 2, 2023

๐Ÿ“ Breaking Down Pointers: Overcoming the Confusion ๐Ÿ˜•๐Ÿ”— Are you feeling perplexed and scratching your head over the concept of pointers in C or C++? You're not alone! Pointers are notorious for causing confusion, not just for newcomers but also for seaso

Cover Image for How many levels of pointers can we have?
c#

How many levels of pointers can we have?

Published on September 2, 2023

๐Ÿ“๐Ÿ“š๐Ÿ”— Welcome to my tech blog! Today, we will dive deep into the world of pointers ๐Ÿ“ and answer the intriguing question: "How many levels of pointers can we have?" ๐ŸŒŸ Let's start with a simple example: ```c int a = 10; int *p = &a; ``` In this code sn

Cover Image for What is Linuxโ€™s native GUI API?
c#

What is Linuxโ€™s native GUI API?

Published on September 2, 2023

๐Ÿ“๐Ÿ’ก **Welcome to my Tech Blog!** ๐ŸŒŸ Today, we're going to tackle a common but sometimes perplexing question in the Linux world: What is Linux's native GUI API? ๐Ÿ–ฅ๏ธ As a Linux user or enthusiast, you may have come across this query before, and it's time

Cover Image for Static linking vs dynamic linking
c#performance

Static linking vs dynamic linking

Published on September 2, 2023

# Static Linking vs Dynamic Linking: Unraveling the Performance Mystery ๐Ÿš€ Have you ever wondered what the buzz is all about when it comes to static linking vs dynamic linking? Are you looking to optimize your program's performance, but don't know which a

Cover Image for What is array to pointer decay?
arraysc#

What is array to pointer decay?

Published on September 2, 2023

# ๐Ÿค” Demystifying Array to Pointer Decay: An Essential Guide ๐Ÿง ๐Ÿ“ Introduction: Welcome to another exciting blog post where we unravel the mysteries of the coding universe! Today, we'll be diving deep into the concept of "Array to Pointer Decay" and expl

Cover Image for Why is the use of alloca() not considered good practice?
c#

Why is the use of alloca() not considered good practice?

Published on September 2, 2023

๐Ÿ–‹๏ธ **Title: The Dark Side of alloca(): Why It's Not Considered Good Practice** Introduction: Hey there tech enthusiasts! ๐Ÿ‘‹ Let's dive into an interesting topic today: the not-so-beloved function ๐‘Ž๐‘™๐‘™๐‘œ๐‘๐‘Ž(). Have you ever wondered why using ๐‘Ž๐‘™๐‘™๐‘œ๏ฟฝ

Cover Image for When is assembly faster than C?
c#performance

When is assembly faster than C?

Published on September 2, 2023

# When is assembly faster than C? ๐Ÿ˜ฎ๐Ÿ’จ Have you ever wondered if writing code in assembly language can actually be faster than using a higher-level language like C? ๐Ÿค” While it's commonly believed that assembly can outperform C, it's important to note tha

Cover Image for C pointer to array/array of pointers disambiguation
arraysc#

C pointer to array/array of pointers disambiguation

Published on September 2, 2023

๐Ÿ“ **Understanding C Pointers and Arrays: Demystifying Ambiguous Declarations** ๐Ÿง๐Ÿ’ก Hello there, fellow tech enthusiasts! ๐Ÿ‘‹๐Ÿค“ Are you struggling to decipher the meaning behind those seemingly confusing C declarations involving pointers and arrays? Fear

Cover Image for What is the difference between using a Makefile and CMake to compile the code?
c#

What is the difference between using a Makefile and CMake to compile the code?

Published on September 2, 2023

# What's the Deal with Makefile and CMake? ๐Ÿค”๐Ÿ”ง If you're coding in C/C++ and have been using a Makefile to compile your code, you might have heard about CMake and wondered what the difference is between the two. ๐Ÿคทโ€โ™€๏ธ In this blog post, we'll dive into

Blog | Matheus Mello