Tag

Interpreter

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Mar 13, 2025 · Fundamentals

Planned Enhancements and Performance Goals for Python 3.13

The upcoming Python 3.13 release, slated for October 2024, aims to boost interpreter performance by at least 50% through a Tier‑2 optimizer, subinterpreter support, and revamped memory management, building on groundwork completed in Python 3.12 such as low‑impact monitoring and improved bytecode compilation.

InterpreterTier-2 Optimizermemory management
0 likes · 5 min read
Planned Enhancements and Performance Goals for Python 3.13
php中文网 Courses
php中文网 Courses
Jan 15, 2025 · Backend Development

Understanding and Building a PHP Interpreter with C

This course introduces the background and features of PHP, explains the inner workings of the PHP interpreter—including lexical analysis, parsing, and the virtual machine—and guides students through implementing these components in C to create a simple interpreter while enhancing their programming and problem‑solving skills.

Backend DevelopmentC languageCompiler
0 likes · 3 min read
Understanding and Building a PHP Interpreter with C
php中文网 Courses
php中文网 Courses
Dec 10, 2024 · Backend Development

Understanding and Building a PHP Interpreter with C

This course introduces the background and features of PHP, explains the role and inner workings of the PHP interpreter—including lexical analysis, parsing, and the virtual machine—and guides students through implementing interpreter modules in C, culminating in a hands‑on project to build a simple PHP interpreter.

C languageCompilerInterpreter
0 likes · 3 min read
Understanding and Building a PHP Interpreter with C
php中文网 Courses
php中文网 Courses
Nov 27, 2024 · Backend Development

PHP Interpreter Internals: Theory and Hands‑On Implementation in C

This course introduces the background and characteristics of PHP, explains the role and operation of the PHP interpreter, and guides students through building a simple interpreter in C by covering lexical analysis, parsing, virtual machine design, and hands‑on debugging with GDB.

C ProgrammingCompilerInterpreter
0 likes · 3 min read
PHP Interpreter Internals: Theory and Hands‑On Implementation in C
Python Programming Learning Circle
Python Programming Learning Circle
Nov 18, 2024 · Fundamentals

Why PyPy Runs Python Faster Than CPython: JIT Compilation Explained

The article explains how PyPy’s just‑in‑time compilation dramatically speeds up Python code—often surpassing CPython and even native C implementations—by describing the performance problem, presenting benchmark results, and detailing the differences between interpreted, ahead‑of‑time, and JIT‑compiled execution.

CompilationInterpreterJIT
0 likes · 5 min read
Why PyPy Runs Python Faster Than CPython: JIT Compilation Explained
Python Programming Learning Circle
Python Programming Learning Circle
Oct 31, 2024 · Fundamentals

Understanding Python Bytecode and Variable Assignment Mechanics

This article examines Python's bytecode instructions, explains how common operations like variable assignment, multiple assignment, and comparison are implemented at the interpreter level, and illustrates the underlying mechanisms with detailed code examples and disassembled bytecode.

BytecodeComparisonInterpreter
0 likes · 19 min read
Understanding Python Bytecode and Variable Assignment Mechanics
php中文网 Courses
php中文网 Courses
Oct 22, 2024 · Backend Development

Deep Dive into PHP Interpreter: Theory, Implementation, and Hands‑On Projects

This course introduces the background and features of PHP, explains the role and inner workings of the PHP interpreter, and guides learners through building core components such as lexical analysis, parsing, and a virtual machine in C, culminating in a functional mini‑interpreter.

Backend DevelopmentC languageCompiler
0 likes · 3 min read
Deep Dive into PHP Interpreter: Theory, Implementation, and Hands‑On Projects
IT Services Circle
IT Services Circle
Oct 19, 2024 · Fundamentals

Understanding Python's Virtual Machine Execution and Runtime Stack

This article explains how the Python interpreter initializes its runtime environment, compiles source code into PyCodeObject bytecode, creates stack frames, and executes the bytecode using functions like PyEval_EvalFrame and _PyEval_EvalFrameDefault while detailing the role of the runtime stack and its associated C macros.

BytecodeC++Interpreter
0 likes · 21 min read
Understanding Python's Virtual Machine Execution and Runtime Stack
Python Programming Learning Circle
Python Programming Learning Circle
Aug 16, 2024 · Fundamentals

The Shannon Plan: Faster CPython Initiatives for Python 3.13

Mark Shannon’s “Shannon Plan” for Faster CPython outlines three parallel initiatives—Tier 2 optimizer, enabling sub‑interpreters via PEP 554, and memory‑management improvements—aimed at making Python up to five times faster by Python 3.13, with Microsoft joining the effort.

CPythonInterpreterPEP 554
0 likes · 4 min read
The Shannon Plan: Faster CPython Initiatives for Python 3.13
Python Programming Learning Circle
Python Programming Learning Circle
Jul 19, 2024 · Fundamentals

Why PyPy Runs Python Code Faster Than C: Understanding JIT Compilation

The article explains how Python’s speed limitations can be overcome with PyPy’s just‑in‑time compilation, showing benchmark results where PyPy outperforms both standard Python and even C, and describes the underlying concepts of AOT, interpretation, and JIT that enable this performance boost.

CompilationInterpreterJIT
0 likes · 5 min read
Why PyPy Runs Python Code Faster Than C: Understanding JIT Compilation
Python Programming Learning Circle
Python Programming Learning Circle
Apr 24, 2024 · Fundamentals

Why PyPy Runs Python Code Faster Than C: Understanding JIT Compilation

The article explains how PyPy leverages just‑in‑time (JIT) compilation to dramatically speed up Python code execution, outperforming both the standard CPython interpreter and even native C implementations, and includes a practical benchmark and code example.

InterpreterJITPyPy
0 likes · 5 min read
Why PyPy Runs Python Code Faster Than C: Understanding JIT Compilation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 22, 2024 · Mobile Development

Performance Regression in Android 14 Debuggable Runtime Caused by Interpreter Switch and Its Fixes

The article analyzes why Android 14's debuggable runtime became significantly slower due to a change from the nterp interpreter to the switch interpreter, explains the underlying ART modifications, and presents the Google‑provided fixes that restore performance to Android 13 levels.

InterpreterMobile Developmentandroid
0 likes · 8 min read
Performance Regression in Android 14 Debuggable Runtime Caused by Interpreter Switch and Its Fixes
php中文网 Courses
php中文网 Courses
Mar 7, 2024 · Backend Development

Understanding and Implementing a PHP Interpreter in C

This course introduces the background and features of PHP, explains the role and operation of the PHP interpreter, and guides learners through building core components such as lexical analysis, parsing, and a virtual machine in C, enabling hands‑on creation of a simple interpreter.

Backend DevelopmentC languageCompiler
0 likes · 3 min read
Understanding and Implementing a PHP Interpreter in C
php中文网 Courses
php中文网 Courses
Feb 19, 2024 · Backend Development

Course Overview: Understanding and Implementing a PHP Interpreter in C

This course introduces the background and features of PHP, explains the role and inner workings of the PHP interpreter—including lexical analysis, parsing, and the virtual machine—and guides students to implement a simple interpreter using C, enhancing their programming and problem‑solving skills.

Backend DevelopmentC ProgrammingCompiler
0 likes · 4 min read
Course Overview: Understanding and Implementing a PHP Interpreter in C
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 22, 2024 · Fundamentals

Understanding JVM Architecture and Core Mechanisms

This article provides a comprehensive overview of the Java Virtual Machine, detailing its architecture, class loading process, runtime data areas, and execution engine, including interpreter and JIT compilation, to help readers grasp JVM fundamentals for Java development and interview preparation.

Class LoadingInterpreterJIT
0 likes · 8 min read
Understanding JVM Architecture and Core Mechanisms
Python Programming Learning Circle
Python Programming Learning Circle
Jan 19, 2024 · Fundamentals

Understanding Python's Copy‑and‑Patch JIT Compiler in CPython 3.13

This article explains the concept of Just‑In‑Time compilation for Python, introduces the copy‑and‑patch JIT proposed for CPython 3.13, shows how it works with bytecode templates, compares it to traditional JIT approaches, and presents simple benchmark results and implementation details.

CPythonCopy-and-PatchInterpreter
0 likes · 13 min read
Understanding Python's Copy‑and‑Patch JIT Compiler in CPython 3.13
Python Programming Learning Circle
Python Programming Learning Circle
Dec 28, 2023 · Fundamentals

Why PyPy Makes Python Code Faster Than Traditional Interpreters: A JIT Compilation Overview

The article explains how Python’s speed limitations can be overcome with PyPy’s just‑in‑time compilation, presenting a performance test that shows PyPy outpacing both the standard interpreter and even compiled C code, and details the underlying differences between JIT, AOT, and interpreted execution.

InterpreterJITPyPy
0 likes · 5 min read
Why PyPy Makes Python Code Faster Than Traditional Interpreters: A JIT Compilation Overview
Python Programming Learning Circle
Python Programming Learning Circle
Nov 29, 2023 · Fundamentals

Building a Simple Python Interpreter with PLY

This article guides readers through designing and implementing a basic Python interpreter that can evaluate arithmetic expressions by defining tokens, writing a lexer and parser with PLY, specifying BNF grammar, handling precedence, and assembling a runnable program that processes user input.

BNFInterpreterLexer
0 likes · 9 min read
Building a Simple Python Interpreter with PLY
Tencent Cloud Developer
Tencent Cloud Developer
Sep 11, 2023 · Fundamentals

Understanding Python's Global Interpreter Lock (GIL) and Its Impact

The article explains Python’s Global Interpreter Lock—its historical origins, how CPython’s tick‑based and later time‑slice schedulers manage thread execution, why it limits multi‑core performance, common multiprocessing workarounds, and the difficulties of removing it despite recent proposals for a GIL‑free build.

ConcurrencyGILInterpreter
0 likes · 15 min read
Understanding Python's Global Interpreter Lock (GIL) and Its Impact
ByteFE
ByteFE
Jul 12, 2023 · Fundamentals

Building a Simple WebAssembly Interpreter (WAInterp) in TypeScript

This article walks through the complete implementation of a basic WebAssembly interpreter called WAInterp using TypeScript, covering module decoding, instantiation, execution of various sections, handling of instructions, and a practical example, thereby deepening understanding of WebAssembly fundamentals and virtual machine design.

InterpreterProgrammingLanguagesTypeScript
0 likes · 58 min read
Building a Simple WebAssembly Interpreter (WAInterp) in TypeScript