Tagged articles
3 articles
Page 1 of 1
ITPUB
ITPUB
Mar 25, 2025 · Fundamentals

What Really Happens When You Double‑Click an App? Inside the OS Loading Process

From double‑clicking an icon to the CPU executing the first instruction, this article walks through how an executable file is identified, loaded into memory, partitioned into code, data, heap and stack sections, and finally launched via the entry‑point address defined in the ELF format.

ELF formatexecutable filesmemory layout
0 likes · 6 min read
What Really Happens When You Double‑Click an App? Inside the OS Loading Process
Java Tech Enthusiast
Java Tech Enthusiast
Oct 11, 2024 · Fundamentals

Understanding How Executable Programs Run and Their Memory Layout

The article explains that an executable file contains machine instructions which the operating system parses (e.g., ELF), loads into RAM by allocating distinct memory regions for code, data, heap, stack and any dynamic libraries, then reads the entry‑point address to set the CPU’s instruction pointer and start execution.

ELFOperating Systemexecutable file
0 likes · 5 min read
Understanding How Executable Programs Run and Their Memory Layout
Ops Development & AI Practice
Ops Development & AI Practice
May 21, 2024 · Fundamentals

Mastering Call Stacks and Stack Frames: A Deep Dive for Developers

Understanding how call stacks and stack frames work is essential for developers, and this article explains their dynamic, ordered, and local nature, details stack frame structure, walks through a Go code example illustrating function calls and returns, and shows how to leverage runtime utilities for debugging.

DebuggingGo languageRuntime
0 likes · 7 min read
Mastering Call Stacks and Stack Frames: A Deep Dive for Developers