CPython Internals: Your Guide to the Python 3 Interpreter

CPython Internals: Your Guide to the Python 3 Interpreter

Anthony Shaw
5.0 / 5.0
2 comments
この本はいかがでしたか?
ファイルの質はいかがですか?
質を評価するには、本をダウンロードしてください。
ダウンロードしたファイルの質はいかがでしたか?
Are there certain parts of Python that just seem like magic? Like how dictionaries are so much faster than looping over a list to find an item. How does a generator remember the state of the variables each time it yields a value and why do you never have to allocate memory like other languages? It turns out, CPython, the most popular Python runtime is written in human-readable C and Python code.
This book will explain the concepts, ideas and technicalities of CPython.
We’ll cover all the concepts behind the internals of CPython, how they work with visual explanations as you go.
You’ll learn how to:
• Read and navigate the source code
• Compile CPython from source code
• Navigate and comprehend the inner workings of concepts like lists, dictionaries, and generators
• Run the test suite
• Modify or upgrade components of the CPython library to contribute them to future versions
Take your time for each chapter and make sure you try out the demos and the interactive components. You’ll soon feel a sense of achievement that you grasp the core concepts of Python that can make you a better Python programmer.
カテゴリー:
年:
2020
版:
1
出版社:
Real Python (realpython.com)
言語:
english
ページ:
385
ISBN 10:
1775093344
ISBN 13:
9781775093343
シリーズ:
2020-05-29 early access
ファイル:
PDF, 10.52 MB
IPFS:
CID , CID Blake2b
english, 2020
オンラインで読む
への変換進行中。
への変換が失敗しました。

主要なフレーズ