CPython Internals: Your Guide to the Python 3 Interpreter (Paperback)
暫譯: CPython 內部原理:Python 3 解譯器指南 (平裝本)
Shaw, Anthony
- 出版商: Real Python (Realpython.Com)
- 出版日期: 2021-05-05
- 售價: $1,600
- 貴賓價: 9.5 折 $1,520
- 語言: 英文
- 頁數: 396
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1775093344
- ISBN-13: 9781775093343
-
相關分類:
Python、程式語言
-
相關翻譯:
CPython 設計與實現 (簡中版)
立即出貨 (庫存=1)
買這商品的人也買了...
-
$580$458 -
$1,980$1,881 -
$580$452 -
$1,372Introduction to Modern Cryptography, 2/e (Hardcover)
-
$580$458 -
$650$507 -
$780$616 -
$720$569 -
$690$538 -
$480$432 -
$600$468 -
$2,147Adobe Illustrator Classroom in a Book (2020 Release)
-
$345$328 -
$1,200$948 -
$3,300$3,135 -
$1,000$850 -
$780$616 -
$560$437 -
$1,850$1,758 -
$580$458 -
$768$730 -
$2,682Fluent Python: Clear, Concise, and Effective Programming, 2/e (Paperback)
-
$474$450 -
$650$514 -
$1,888Fluent C: Principles, Practices, and Patterns (Paperback)
商品描述
Get your guided tour through the Python 3.9 interpreter: Unlock the inner workings of the Python language, compile the Python interpreter from source code, and participate in the development of CPython.
Are there certain parts of Python that just seem like magic?
This book explains the concepts, ideas, and technicalities of the Python interpreter in an approachable and hands-on fashion.
Once you see how Python works at the interpreter level, you can optimize your applications and fully leverage the power of Python.
By the End of the Book You'll Be Able To:
-
Read and navigate the CPython 3.9 interpreter source code. You'll deeply comprehend and appreciate the inner workings of concepts like lists, dictionaries, and generators.
-
Make changes to the Python syntax and compile your own version of CPython, from scratch. You'll customize the Python core data types with new functionality and run CPython's automated test suite.
-
Master Python's memory management capabilities and scale your Python code with parallelism and concurrency.
-
Debug C and Python code like a true professional. Profile and benchmark the performance of your Python code and the runtime.
-
Participate in the development of CPython and know how to contribute to future versions of the Python interpreter and standard library. How great would it feel to give back to the community as a "Python Core Developer?"
With this book you'll cover the critical concepts behind the internals of CPython and how they work with visual explanations as you go along.
Each page in the book has been carefully laid out with beautiful typography, syntax highlighting for code examples.
About the Author:
Anthony Shaw is a CPython contributor and a PyCon speaker. He has a B.Sc. in Computer Science and over 8 years of experience working with Python. Anthony is also a Fellow of the Python Software Foundation and member of the Open-Source Apache Foundation.
What Python Developers Say About The Book:
"It's the book that I wish existed years ago when I started my Python journey. [...] After reading this book your skills will grow and you will be able solve even more complex problems that can improve our world."
- Carol Willing, CPython Core Developer & Member of the CPython Steering Council
"CPython Internals is a great (and unique) resource for anybody looking to take their knowledge of Python to a deeper level."
- Dan Bader, Author of Python Tricks
"There are a ton of books on Python which teach the language, but I haven't really come across anything that would go about explaining the internals to those curious minded."
- Milan Patel, Vice President at (a major investment bank)
"I can recommend CPython Internals to anyone who wants to get going with hacking on CPython."
- Guido van Rossum, Creator of Python
商品描述(中文翻譯)
帶您深入了解 Python 3.9 解譯器: 解鎖 Python 語言的內部運作,從源代碼編譯 Python 解譯器,並參與 CPython 的開發。
Python 中是否有某些部分讓您覺得像是魔法?
本書以易於接近和實作的方式解釋 Python 解譯器的概念、思想和技術細節。
一旦您了解 Python 在解譯器層級的運作方式,您就能優化您的應用程式,充分發揮 Python 的力量。
在本書結束時,您將能夠:
-
閱讀並導航 CPython 3.9 解譯器的源代碼。 您將深入理解並欣賞列表、字典和生成器等概念的內部運作。
-
修改 Python 語法並從頭開始編譯您自己的 CPython 版本。 您將為 Python 核心數據類型自定義新功能,並運行 CPython 的自動化測試套件。
-
掌握 Python 的記憶體管理能力,並利用平行性和併發性擴展您的 Python 代碼。
-
像專業人士一樣調試 C 和 Python 代碼。 對您的 Python 代碼和運行時性能進行分析和基準測試。
-
參與 CPython 的開發,並了解如何為未來版本的 Python 解譯器和標準庫做出貢獻。作為「Python 核心開發者」回饋社群的感覺會有多棒呢?
透過本書,您將涵蓋 CPython 內部運作的關鍵概念,並隨著進度提供視覺化的解釋。
本書的每一頁都經過精心排版,擁有美觀的字體和代碼範例的語法高亮。
關於作者:
Anthony Shaw 是 CPython 的貢獻者和 PyCon 的演講者。他擁有計算機科學的學士學位,並擁有超過 8 年的 Python 工作經驗。Anthony 也是 Python 軟體基金會的研究員及開源 Apache 基金會的成員。
Python 開發者對本書的評價:
「這是我希望在幾年前開始我的 Python 旅程時就能擁有的書籍。[...] 閱讀完這本書後,您的技能將會提升,您將能夠解決更複雜的問題,改善我們的世界。」
- Carol Willing, CPython 核心開發者及 CPython 指導委員會成員
「CPython Internals 是任何希望深入了解 Python 知識的人的絕佳(且獨特)資源。」
- Dan Bader, 《Python Tricks》作者
「有很多關於 Python 的書籍教學這門語言,但我真的沒有遇到過任何一本能夠向好奇者解釋內部運作的書。」
- Milan Patel, (一家大型投資銀行)副總裁
「我可以推薦 CPython Internals 給任何想要開始在 CPython 上進行黑客攻擊的人。」
- Guido van Rossum, Python 創始人