Tag

stack frame

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Mar 9, 2025 · Fundamentals

What Really Happens Inside Python When You Call a Function?

This article explains step by step how Python creates a function object, builds a call stack, handles parameters, executes the body, performs garbage collection, and manages recursion, illustrating each stage with clear code examples and diagrams.

Function CallGarbage CollectionPython
0 likes · 8 min read
What Really Happens Inside Python When You Call a Function?
Tencent Cloud Developer
Tencent Cloud Developer
Aug 8, 2022 · Fundamentals

Deep Dive into Function Call Implementation: From Assembly to CPU Registers

This article thoroughly explains low‑level function call implementation, covering Intel and AT&T assembly syntax, the evolution of CPU registers from 16‑bit to 64‑bit x86, caller‑ and callee‑saved conventions, stack‑based to register‑based parameter passing, stack frame setup, and assembly representations of control structures.

CPU architectureCPU registersLow-level programming
0 likes · 23 min read
Deep Dive into Function Call Implementation: From Assembly to CPU Registers
IT Services Circle
IT Services Circle
Apr 6, 2022 · Fundamentals

Understanding Function Calls and Stack Frames in Memory

This article explains how function calls are implemented using a stack‑based memory model, describing stack frames, the role of base and stack pointer registers, and the assembly instructions that create and dismantle these frames during program execution.

C ProgrammingMemory Managementassembly
0 likes · 7 min read
Understanding Function Calls and Stack Frames in Memory
Selected Java Interview Questions
Selected Java Interview Questions
Nov 5, 2020 · Fundamentals

Understanding Java Virtual Machine Stack Frames and Method Invocation

This article explains the JVM's stack‑frame structure, local variable tables, operand stacks, dynamic linking, and method return addresses, then demonstrates method call execution with sample Java code and bytecode, and analyzes how the JVM resolves overloaded and overridden methods through static and dynamic dispatch.

BytecodeJVMJava
0 likes · 21 min read
Understanding Java Virtual Machine Stack Frames and Method Invocation
Selected Java Interview Questions
Selected Java Interview Questions
Jun 27, 2020 · Backend Development

Understanding Java Increment Operators and JVM Stack Frame Behavior

This article explains a Java interview puzzle by analyzing how the JVM stack frame handles variable assignments and increment operators, step‑by‑step showing the effects of i = i++, i = ++i, and a complex expression i + ++i * i++ on variable values.

JVMJavabackend
0 likes · 4 min read
Understanding Java Increment Operators and JVM Stack Frame Behavior
Java Captain
Java Captain
Jun 25, 2020 · Fundamentals

Understanding Java Increment Operators and JVM Stack Frame Behavior

This article explains how Java's post‑ and pre‑increment operators affect variable values by tracing each statement through the JVM's stack frame, local variable table, and operand stack, and demonstrates the resulting values of i, j, and k with detailed diagrams and code examples.

JVMJavaincrement operators
0 likes · 4 min read
Understanding Java Increment Operators and JVM Stack Frame Behavior
360 Tech Engineering
360 Tech Engineering
Dec 20, 2018 · Fundamentals

Understanding Tail Call Optimization in Objective‑C

This article explains the concept of tail call optimization in Objective‑C, illustrates correct and incorrect tail‑call examples, describes how the compiler reuses stack frames to achieve O(1) space complexity, and demonstrates the optimization with visual demos and practical code.

CompilerObjective-CTail Call Optimization
0 likes · 6 min read
Understanding Tail Call Optimization in Objective‑C