Tagged articles

pointer arithmetic

2 articles · Page 1 of 1
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 languageMemory Modellow-level programming
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.

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