
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
با یک تور راهنما وارد مفسر پایتون ۳٫۹ شوید: رازهای درونی زبان پایتون را بشناسید، مفسر پایتون را از کد منبع کامپایل کنید و در توسعهٔ CPython مشارکت کنید.
آیا بخشهایی از پایتون برایتان مثل جادو به نظر میرسد؟
این کتاب مفاهیم، ایدهها و جزئیات فنی مفسر پایتون را به زبانی ساده و با رویکردی عملی توضیح میدهد.
وقتی ببینید پایتون در سطح مفسر چگونه کار میکند، میتوانید برنامههایتان را بهینهتر کنید و از قدرت واقعی پایتون بهره ببرید.
در پایان این کتاب میتوانید:
کد منبع مفسر CPython ۳٫۹ را بخوانید و در آن مسیر پیدا کنید. درک عمیقی از کار درونی مفاهیمی مثل لیست، دیکشنری و ژنراتور بهدست میآورید و قدر آنها را بهتر میشناسید. نحو پایتون را تغییر دهید و نسخهٔ خودتان از CPython را از صفر کامپایل کنید. انواع دادهٔ اصلی پایتون را با قابلیتهای تازه سفارشی کنید و مجموعهٔ تست خودکار CPython را اجرا کنید. مدیریت حافظهٔ پایتون را خوب یاد بگیرید و با موازیسازی و همزمانی، کد پایتونتان را مقیاسپذیرتر کنید. مثل یک حرفهای واقعی، کد C و پایتون را دیباگ کنید. عملکرد کد پایتون و زمان اجرای آن را پروفایل و بنچمارک کنید. در توسعهٔ CPython مشارکت کنید و بدانید چطور میتوانید به نسخههای آیندهٔ مفسر پایتون و کتابخانهٔ استاندارد کمک کنید. چقدر عالی میشد اگر بتوانید به جامعه بهعنوان یک «توسعهدهندهٔ اصلی پایتون» چیزی پس بدهید؟
با این کتاب مفاهیم کلیدی پشت ساختار داخلی CPython و نحوهٔ کار آنها را، همراه با توضیحهای تصویری در طول مسیر، یاد میگیرید.
هر صفحهٔ کتاب با تایپوگرافی زیبا و هایلایت نحوی برای نمونههای کد، با دقت طراحی شده است.
دربارهٔ نویسنده:
آنتونی شاو از مشارکتکنندگان CPython و سخنران PyCon است. او مدرک کارشناسی علوم کامپیوتر دارد و بیش از ۸ سال با پایتون کار کرده است. آنتونی همچنین عضو افتخاری بنیاد نرمافزار پایتون و عضو بنیاد متنباز آپاچی است.
نظر توسعهدهندگان پایتون دربارهٔ کتاب:
«این همان کتابی است که کاش سالها پیش، وقتی سفر پایتونم را شروع کردم، وجود داشت. [...] بعد از خواندن این کتاب مهارتهایتان بیشتر میشود و میتوانید مسائل پیچیدهتری را حل کنید؛ مسائلی که میتوانند دنیا را بهتر کنند.» — کارول ویلینگ، توسعهدهندهٔ اصلی CPython و عضو شورای راهبری CPython
«درونمایههای CPython منبعی عالی (و منحصربهفرد) برای هر کسی است که میخواهد دانش پایتونش را عمیقتر کند.» — دن بیدر، نویسندهٔ Python Tricks
«کتابهای زیادی دربارهٔ پایتون هست که خود زبان را آموزش میدهند، اما چیزی ندیدهام که ساختار داخلی را برای ذهنهای کنجکاو توضیح دهد.» — میلان پاتل، معاون رئیس در (یک بانک سرمایهگذاری بزرگ)
«میتوانم درونمایههای CPython را به هر کسی که میخواهد شروع به کار روی CPython کند، پیشنهاد کنم.» — گیدو ون روسوم، خالق پایتون
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