LIBRISTO
LIBROAMANTO
obbligatorio
Entra a far parte di una comunità di amanti dei libri di tutto il mondo e ottieni numerosi vantaggi. Crea un account gratuito
0
Spedizione gratuita con Packeta per un prezzo superiore a 69.99 €
Corriere Bartolini 4.49 Punto Poste 5.49 Punto Poste 5.49 Punto Bartolini 3.49 Corriere DHL 6.99 Corriere GLS 5.99 Punto GLS 4.49

Spedizione gratuita per ordini superiori a 69,99 euro.

CPython Internals Explained

Development Series

Lingua IngleseInglese
Libro elettronico Adobe ePub DRM
Casa editrice Pragma Press, giugno 2026
Unlock the Secrets Behind Every Line of Python Code✅ Build, modify, and debug CPython from source —... Descrizione completa
? points 25 b Nuovi Nuovi
10.29
Disponibile Consegna digitale immediata

Unlock the Secrets Behind Every Line of Python Code✅ Build, modify, and debug CPython from source — on macOS, Linux, and Windows✅ Trace Python code from raw text all the way through the compiler to bytecode execution✅ Master memory management, the GIL, concurrency, and the Faster CPython optimizations✅ Contribute to CPython and write your own high-performance C extensionsBook DescriptionPython is one of the world's most popular programming languages — but what actually happens when your code runs? CPython Internals Explained pulls back the curtain on Python's official interpreter, walking you through the complete journey from source code to execution with hands-on examples at every step.Starting with building CPython from scratch, you'll explore the PEG parser, the tokenizer, abstract syntax trees, and the bytecode compiler. You'll step inside the evaluation loop of the virtual machine, understand stack-based execution and frame objects, and learn how inline caching and adaptive specialization (PEP 659) make modern Python fast. The book then dives deep into memory management — covering reference counting, generational garbage collection, and debugging memory leaks with tracemalloc.You'll master Python's object model, discovering how integers, strings, lists, and dictionaries are implemented in C. Concurrency gets full coverage too: the GIL, threads, multiprocessing, async/await internals, and the new free-threading model (PEP 703). Later chapters cover profiling with cProfile and perf, the Faster CPython project, JIT compilation (PEP 744), testing and debugging with GDB/LLDB, and writing your own C extensions using Cython, pybind11, and HPy.What You Will LearnHow to build CPython from source and navigate its codebase confidentlyHow the PEG parser, tokenizer, AST, and compiler transform Python source into bytecodeHow the virtual machine executes bytecode using a stack-based evaluation loopHow reference counting and generational garbage collection manage memoryHow built-in types like dicts, lists, and integers are implemented in CHow the GIL works and what free-threading (PEP 703) changesHow to profile, benchmark, and optimize Python at both Python and C levelsHow to write, build, and test your own C extension modulesWho This Book Is ForThis book is for intermediate to advanced Python developers who want to go beyond application code and truly understand how Python works under the hood. It's ideal for engineers optimizing performance-critical systems, developers contributing to CPython or open source projects, and curious programmers who want to understand what really happens when Python runs. A basic familiarity with Python is assumed; prior C knowledge is helpful but not required — a C primer for Python programmers is included.

Attrice & Poliglotta
EWA KASP per
Riproduci video
Ewa Kasp
Libristo ha la più grande selezione di letteratura in lingue straniere. Per questo compro i miei libri qui.

Informazioni sul libro

Titolo completo CPython Internals Explained
Autore Ethan Garrett
Lingua Inglese
Rilegatura Libro elettronico - Adobe ePub DRM
Data di pubblicazione 2026
EAN 9798235033054
Codice Libristo 52985239
Casa editrice Pragma Press
Regala questo libro oggi stesso
È facile
1 Aggiungi il libro al carrello e scegli la consegna come regalo 2 Ti invieremo subito il buono 3 Il libro arriverà all'indirizzo del destinatario

Accesso

Accedi al tuo account. Non hai ancora un account Libristo? Crealo ora!

 
obbligatorio
obbligatorio

Non hai un account? Ottieni i vantaggi di un account Libristo!

Con un account Libristo, avrai tutto sotto controllo.

Crea un account Libristo
Consulente di libri Libroamiko
Ciao, sono Libroamiko, posso aiutarti?