Skip to content
Tagged articles

pointer arithmetic

3 articles · Page 1 of 1
Deepin Linux
Deepin Linux
Oct 11, 2026 · Fundamentals

C Pointers Deep Dive: CPU, Compiler, Memory & Common Pitfalls

This article explains C pointers through four layers—C language semantics, compiler transformations, CPU execution, and memory mapping—covering pointer types, arithmetic, arrays vs pointers, dynamic allocation, embedded hardware access, and common errors like null and dangling pointers with assembly examples.

C pointersCPU architecturecommon pitfalls
0 likes · 64 min read
C Pointers Deep Dive: CPU, Compiler, Memory & Common Pitfalls
Liangxu Linux
Liangxu Linux
Dec 13, 2023 · Fundamentals

Why Pointers Matter: A Visual Journey from Memory Cells to C Code

This article walks through a visual memory model, introduces a simple mov instruction, expands it with size‑specific variants, explains variables and their types, and then builds up the concept of pointers, their arithmetic, and how they map to actual CPU instructions.

C languageLow-Level ProgrammingType System
0 likes · 18 min read
Why Pointers Matter: A Visual Journey from Memory Cells to C Code
Nullbody Notes
Nullbody Notes
Nov 26, 2020 · Fundamentals

Understanding Go Byte Order and Pointer Arithmetic in One Guide

This article demonstrates how to determine Go's endianness using unsafe.Pointer and uintptr, explains the memory layout of multi‑byte variables, and details the roles of *T, unsafe.Pointer, and uintptr for pointer arithmetic with concrete code examples.

GoUnsafebyte order
0 likes · 5 min read
Understanding Go Byte Order and Pointer Arithmetic in One Guide