Skip to content

Instantly share code, notes, and snippets.

Complete Guide to Linux ELF Addressing

This is a comprehensive explanation of addressing in Linux ELF binaries, from the bytes on disk to runtime memory.


Table of Contents

  1. The Three Address Spaces
  2. ELF File Structure

x86 Assembly Premium Tutorial & Quick Reference (2025 Edition)

This is the most complete, accurate, and up-to-date single-document reference for real-world x86 assembly programming, from 8086 to modern x86-64 (including AVX-512, APX, AVX10, etc.).

Part 1: 8086/8088 — The Eternal Foundation (1978–forever)

Everything you learn here still works in 2025 in 16-bit real mode and is critical for bootloaders, BIOS, UEFI, and deep understanding.

Registers (8086)

Table of Contents

  1. Part 1: The Foundation (16-Bit / 8086) - Registers, Segmentation, and Basic Logic.
  2. Part 2: The Expansion (32-Bit / x86 / IA-32) - E-Registers, Flat Memory, and Stack Frames.
  3. Part 3: The Modern Era (64-Bit / x86-64 / AMD64) - R-Registers, New Calling Conventions, and RIP-Relative addressing.
  4. Premium Quick Reference Card - Register Hierarchy, Instructions, and Addressing Modes.

Premium Guide to x86 Assembly

Course: Integrating Go with Legacy Systems (Calling Go from C++)

  • Audience: Intermediate Go Developers
  • Prerequisites: Basic knowledge of Go, C/C++ syntax, and CLI build tools (gcc/clang).
  • Focus: Creating Go shared libraries and consuming them safely from C and C++.

Module 1: The Foundation - Compiling Go to Shared Libraries

Go ↔ C++ Interop with cgo: A Progressive Course

Audience: Go engineers who want to call C++ safely and efficiently.

Outcome: You’ll be able to wrap real C++ libraries behind C ABIs, build and link them with Go, ship cross-platform binaries, and avoid common interop footguns.

Time: 20–30 hours with labs.

Note on code blocks: use these as-is. They are wrapped with instead of to satisfy export constraints.

TypeScript for Vue Programmers in 2025

The saying that "TypeScript is just typed JavaScript" is only 10% of the truth.

The other 90% is: TypeScript in modern Vue is not about adding types --- it's about removing entire classes of runtime bugs, getting god-tier autocomplete, and making refactoring 10× safer.

Let's start from the #1 most common TypeScript pain point.

1. Starting with the #1 most common TypeScript pain point