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_valarray.md
Created December 4, 2025 14:48
C++: `std::valarray`

C++: std::valarray

CC0

Disclaimer: Grok generated document.

std::valarray is a C++ standard library container introduced in C++98 specifically for high-performance numerical computations on arrays of numeric types (like float, double, int, etc.). It was designed with the intention of allowing aggressive optimizations for mathematical operations, especially on entire arrays at once.

Main Intended Use Cases

@MangaD
MangaD / heap_data_structure_vs_memory.md
Created December 3, 2025 23:34
The Two Heaps of C++: A Complete, Correct, and Expert-Level Guide

The Two Heaps of C++: A Complete, Correct, and Expert-Level Guide

CC0

Disclaimer: ChatGPT generated document.

Everything you wanted to know about heaps — the data-structure heap and the dynamic memory heap — in one place.


@MangaD
MangaD / Bookkeeping.md
Created December 3, 2025 23:26
Bookkeeping

Bookkeeping

CC0

Disclaimer: Grok generated document.

In computer science and software engineering, bookkeeping refers to the routine, non-core administrative work that a program or system must perform to manage its internal state, resources, or metadata — even though this work doesn’t directly contribute to the main algorithm or business logic.

It’s usually considered “overhead” or “housekeeping” tasks that are necessary for correctness, efficiency, or maintainability, but are boring and mechanical compared to the “interesting” parts of the problem.

@MangaD
MangaD / priority_queue.md
Created November 30, 2025 11:43
C++: `std::priority_queue`

C++: std::priority_queue

CC0

Disclaimer: ChatGPT generated document.

std::priority_queue is a container adaptor in C++ that provides constant-time access to the largest (or highest priority) element. It’s implemented on top of another container (typically a std::vector) and uses a heap (by default, a max-heap) to maintain ordering.

It is ideal when you frequently insert items and need to efficiently retrieve (and remove) the highest-priority element.

@MangaD
MangaD / batch_coalesce.md
Created November 30, 2025 10:56
Batch and Coalesce

Batch and Coalesce

CC0

Disclaimer: ChatGPT generated document.

In computing, batch and coalesce refer to two different concepts used to optimize performance, though they’re often related in scenarios involving data processing, memory operations, or network requests.


@MangaD
MangaD / IDL_vs_Schema.md
Created November 29, 2025 22:50
IDL vs Schema

IDL vs Schema

CC0

Disclaimer: ChatGPT generated document.

The terms IDL (Interface Definition Language) and schema are often used in data serialization, communication protocols, and API design, but they serve different purposes and operate at different layers.


@MangaD
MangaD / CloudOrchestration.md
Created November 29, 2025 14:48
Cloud Orchestration

Cloud Orchestration

CC0

Disclaimer: ChatGPT generated document.

Cloud orchestration is the automated coordination, management, and arrangement of cloud services, resources, and workloads to deliver a cohesive application or system. In essence, it allows multiple cloud components (compute, storage, networking, security, CI/CD, etc.) to work together efficiently with minimal manual intervention.

Think of it as the "conductor" of cloud operations, whereas cloud automation is more like individual musicians playing their part.

@MangaD
MangaD / EdgeComputing.md
Created November 29, 2025 12:38
Edge Computing

Edge Computing

CC0

Disclaimer: ChatGPT generated document.

Edge computing is a distributed computing paradigm that brings computation and data storage closer to the sources of data (such as sensors, devices, or local servers), rather than relying on centralized cloud data centers. It’s designed to reduce latency, lower bandwidth usage, improve reliability, and enable near-real-time processing for applications that require immediate response.

Below is a thorough and exhaustive deep dive—starting from foundational concepts to advanced architectural patterns, industry applications, tools, challenges, and future trends.

@MangaD
MangaD / ImageFormats.md
Last active November 27, 2025 12:56
Image Formats

Image Formats

CC0

Disclaimer: ChatGPT generated document.

There are many image formats, each designed with trade-offs regarding compression, quality, editing capability, animation support, color depth, transparency, metadata, etc.

Below is a comprehensive, structured overview of all significant image formats—from classic raster and vector types to RAW, HDR, medical, and modern specialized formats. This is intentionally exhaustive.

@MangaD
MangaD / IntegratedFramework.md
Created November 23, 2025 20:00
What Is an Integrated Framework in Software Development?

What Is an Integrated Framework in Software Development?

CC0

Disclaimer: Grok generated document.

An integrated framework in software development is a comprehensive, pre-built collection of libraries, tools, components, and conventions that work together seamlessly out of the box to help developers build applications faster and with more consistency.

It goes beyond a simple library or toolkit by providing a full-stack or near-full-stack structure that “integrates” many concerns (routing, data access, security, templating, testing, etc.) into a cohesive whole, usually with opinionated defaults and conventions.