Skip to content

Instantly share code, notes, and snippets.

View MangaD's full-sized avatar
📚
studying

David Gonçalves MangaD

📚
studying
View GitHub Profile
@MangaD
MangaD / cpp-linkage-odr.md
Created June 13, 2026 21:27
C++ Linkage, Object Files, Static Libraries, Shared Libraries, Inline Functions, Inline Variables, and the ODR

C++ Linkage, Object Files, Static Libraries, Shared Libraries, Inline Functions, Inline Variables, and the ODR

CC0

Disclaimer: ChatGPT generated document.

1. The big picture

When you write C++, you usually think in terms of source files:

@MangaD
MangaD / windbg.md
Last active June 11, 2026 16:45
Comprehensive Guide to Using WinDbg (Windows Debugger)

📌 Comprehensive Guide to Using WinDbg (Windows Debugger)

CC0

Disclaimer: ChatGPT generated document.

WinDbg (Windows Debugger) is a powerful debugging tool for Windows that can be used for kernel-mode and user-mode debugging, crash dump analysis, reverse engineering, and performance analysis.

This guide will cover:

@MangaD
MangaD / cpp_unions.md
Last active June 8, 2026 16:13
Deep Dive into Unions in C and C++

Deep Dive into Unions in C and C++

CC0

Disclaimer: Grok generated document.

Unions are a fundamental feature in both C and C++ for defining data types that can store different types of data in the same memory location. They are particularly useful for memory optimization, type punning (with caveats), and implementing variant-like structures. This guide covers everything from basics to advanced topics, including syntax, semantics, differences between C and C++, pitfalls, use cases, and modern alternatives. I'll use code examples, tables for comparisons, and explanations grounded in language standards (up to C23 and C++23 as of 2025).

1. Introduction to Unions

@MangaD
MangaD / cpp_simd.md
Created March 14, 2025 07:59
Comprehensive Guide to SIMD in C++

Comprehensive Guide to SIMD in C++

CC0

Disclaimer: ChatGPT generated document.

1. Introduction to SIMD

What is SIMD?

@MangaD
MangaD / leaf_spine_network.md
Created June 7, 2026 17:23
Leaf-Spine Network Basics

Leaf-Spine Network Basics

CC0

Disclaimer: ChatGPT generated document.

These concepts are fundamental to modern data center networking, especially in cloud providers, AI clusters, Kubernetes environments, and large-scale enterprise infrastructure.

The terminology can seem confusing at first because it mixes network topology (Leaf-Spine) with traffic patterns (East-West and North-South).

@MangaD
MangaD / network_topologies.md
Created June 6, 2026 19:08
Network Topologies: Understanding How Computer Networks Are Structured

Network Topologies: Understanding How Computer Networks Are Structured

CC0

Disclaimer: ChatGPT generated document.

Introduction

Modern computer networks form the foundation of today's digital world. Every email sent, website visited, video streamed, or file transferred relies on a network infrastructure that connects devices and enables communication. One of the most fundamental concepts in networking is network topology.

@MangaD
MangaD / programming_paradigms.md
Created November 2, 2025 14:54
Programming Paradigms Explained: From Functional to Imperative and Beyond

Programming Paradigms Explained: From Functional to Imperative and Beyond

CC0

Disclaimer: ChatGPT generated document.

When people talk about programming languages, they often mention functional, imperative, or object-oriented styles. These aren’t just buzzwords — they describe different ways of thinking about computation. Understanding these paradigms helps you see why languages look and behave the way they do, and how to choose the right tool for your next project.


@MangaD
MangaD / cpp_code_intelligence_ecosystem.md
Created June 5, 2026 10:32
The Modern C++ Code Intelligence Ecosystem: Bear, Clang, clangd, LSP, IDEs, Static Analysis, and Distributed Builds

The Modern C++ Code Intelligence Ecosystem: Bear, Clang, clangd, LSP, IDEs, Static Analysis, and Distributed Builds

CC0

Disclaimer: ChatGPT generated document.

Below is a map of the whole ecosystem.

1. The core problem: C++ tooling needs your real compile command

@MangaD
MangaD / cpp_build_systems.md
Last active June 4, 2026 10:22
Choosing a Build System for C++: CMake, Bazel, Meson, and Beyond

Choosing a Build System for C++: CMake, Bazel, Meson, and Beyond (2026)

CC0

Disclaimer: ChatGPT generated document.

Sure — here’s a comprehensive, high-level but thorough article overviewing CMake, Bazel, and the wider ecosystem of build systems and build orchestration tools, including notable alternatives, their paradigms, trade-offs, and ecosystems.


@MangaD
MangaD / cpp_inline.md
Last active June 3, 2026 15:23
The `inline` Keyword in C++

The inline Keyword in C++

CC0

Disclaimer: ChatGPT generated document.

inline is one of the most misunderstood keywords in C++. Today, its most important meaning is not “please inline this function call”. Its core language meaning is:

This entity may have identical definitions in multiple translation units, and the program still treats it as one entity.