DeepRead
Cover of CPython Internals

CPython Internals

Anthony Shaw · 2021

Programming and computer science › Python

#4,514 most recommended

About the book

A guided tour of the CPython 3.9 interpreter, covering its runtime and compiler and how core types such as lists, dictionaries, and generators work internally. It also covers building CPython from source, running its test suite, and debugging, profiling, and benchmarking both C and Python code. Parts of Python that seem like magic become understandable once the interpreter is read as C code with concrete data structures and execution steps. The author holds that knowing these internals lets developers optimize applications and use Python's features more deliberately. The book also argues that readers can go beyond using the language to changing it, by modifying syntax and core types and contributing to CPython and its standard library.

Written by Claude from what it knows of this book.

What Hacker News says 67% recommend · 0% critical

024202020212022202320242021 peak · 4
This bookAverage book in Python

In the commenters’ own words

What Open Library readers say 4.50 from 2 ratings

  1. 51
  2. 41
  3. 30
  4. 20
  5. 10
  • 7 want to read
  • 1 reading
  • 1 have read

Only 2 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2021
ISBN
9781775093343
Editions known
2 at Open Library
Open Library
OL24757666W

Explore in the mosaic

Read next: its neighbours on the mosaic