
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
ویژگیهای کلیدی* ساخت برنامههایی بسیار کارآمد، مقاوم و همروند* کار با نمونههای عملی که به شما کمک میکنند چالشهای نوشتن کد همروند را حل کنید* بهبود سرعت کلی اجرا در سیستمهای چندپردازندهای و چندهستهای و حفظ دسترسی پذیری بالای آنهاتوضیح کتابپایتون یک زبان بسیار سطح بالا و همهمنظوره است که به طور گسترده در حوزههایی مانند علم داده و پژوهش استفاده میشود و همچنین یکی از انتخابهای اصلی برنامهنویسان در سراسر جهان برای برنامهنویسی عمومی است. این زبان دارای شمار زیادی از کتابخانهها و فریمورکهای قدرتمند سطح بالا و سطح پایین است که در کنار دستور زبان جذاب آن، به برنامهنویسان پایتون امکان خلق آثار بزرگ را میدهند.این کتاب برخی از محبوبترین کتابخانهها و فریمورکها را معرفی میکند و به عمق روشهای استفاده از آنها برای ساخت برنامههای پایتون با همروندی و کارایی بالا میپردازد. ما مفاهیم بنیادین همروندی را که برای نوشتن سیستمهای نرمافزاری همروند و موازی در پایتون نیاز دارید، پوشش خواهیم داد.این کتاب شما را در مسیر تسلط بر برنامهنویسی همروند در پایتون راهنمایی میکند و تمام دانش نظری و سختافزاری لازم را در اختیارتان میگذارد. ما مفاهیمی مانند دیباگ کردن و مدیریت خطاها و همچنین برخی از محبوبترین کتابخانهها و فریمورکهایی را که به شما اجازه میدهند سیستمهای رویدادمحور و واکنشی بسازید، بررسی خواهیم کرد.تا پایان این کتاب، تکنیکهای نوشتن سیستمهای همروند بسیار کارآمد را که از بهترین روشها پیروی میکنند، یاد خواهید گرفت.آنچه خواهید آموخت* بررسی مفهوم نخکشی و چندپردازشی در پایتون* درک همروندی با نخها* مدیریت خطاها در نخهای فرزند* مدیریت دشوارترین بخش در یک سیستم همروند — منابع اشتراکی* ساخت سیستمهای همروند با فرآیندهای ترتیبی ارتباطی (CSP)* نگهداری تمامی سیستمهای همروند و تسلط بر آنها* بهکارگیری برنامهنویسی واکنشی برای ساخت سیستمهای همروند* استفاده از پردازنده گرافیکی (GPU) برای حل مسائل خاصدرباره نویسندهالیوت فوربز در دو سال گذشته به عنوان مهندس نرمافزار تماموقت در یک شرکت پیشروی مالی کار کرده است. او در بهار ۲۰۱۵ از دانشگاه استراثکلایند در اسکاتلند فارغالتحصیل شد و در دوران تحصیل، به عنوان برنامهنویس آزاد (فریلنسر) در زمینه توسعه وب فعالیت میکرد.او روی فناوریهای مختلفی مثل GoLang، NodeJS و جاوا کار کرده و سالها روی سیستمهای سازمانی همروند وقت گذاشته است. او با تکیه بر همین تجربه توانست این کتاب را بنویسد.الیوت حتی یک دوره کارآموزی تابستانی را در بانک سرمایهگذاری بارکلیز در لندن گذرانده و در سه سال گذشته چند وبسایت توسعه نرمافزار را اداره کرده است.فهرست مطالب۱. سرعت آن را بالا ببرید!۲. موازیسازی چطور است؟۳. زندگی یک نخ۴. همگامسازی بین نخها۵. ارتباط بین نخها۶. دیباگ و بنچمارک نخها۷. اجراکنندهها و استخرها۸. چندپردازشی۹. برنامهنویسی رویدادمحور۱۰. برنامهنویسی واکنشی۱۱. استفاده از پردازنده گرافیکی (GPU)۱۲. انتخاب یک راه حل
Key Features* Build highly efficient, robust, and concurrent applications* Work through practical examples that will help you address the challenges of writing concurrent code* Improve the overall speed of execution in multiprocessor and multicore systems and keep them highly availableBook DescriptionPython is a very high level, general purpose language that is utilized heavily in fields such as data science and research, as well as being one of the top choices for general purpose programming for programmers around the world. It features a wide number of powerful, high and low-level libraries and frameworks that complement its delightful syntax and enable Python programmers to create.This book introduces some of the most popular libraries and frameworks and goes in-depth into how you can leverage these libraries for your own high-concurrent, highly-performant Python programs. We'll cover the fundamental concepts of concurrency needed to be able to write your own concurrent and parallel software systems in Python.The book will guide you down the path to mastering Python concurrency, giving you all the necessary hardware and theoretical knowledge. We'll cover concepts such as debugging and exception handling as well as some of the most popular libraries and frameworks that allow you to create event-driven and reactive systems.By the end of the book, you'll have learned the techniques to write incredibly efficient concurrent systems that follow best practices.What you will learn* Explore the concept of threading and multiprocessing in Python* Understand concurrency with threads* Manage exceptions in child threads* Handle the hardest part in a concurrent system — shared resources* Build concurrent systems with Communicating Sequential Processes (CSP)* Maintain all concurrent systems and master them* Apply reactive programming to build concurrent systems* Use GPU to solve specific problemsAbout the Author**Elliot Forbes** has worked as a full-time software engineer at a leading financial firm for the last two years. He graduated from the University of Strathclyde in Scotland in the spring of 2015 and worked as a freelancer developing web solutions while studying there.He has worked on numerous different technologies such as GoLang and NodeJS and plain old Java, and he has spent years working on concurrent enterprise systems. It is with this experience that he was able to write this book.Elliot has even worked at Barclays Investment Bank for a summer internship in London and has maintained a couple of software development websites for the last three years.Table of Contents1. Speed It Up!2. How About Parallel It?3. Life of Thread4. Synchronization Between Threads5. Communication Between Threads6. Debug and Benchmark Threads7. Executors and Pools8. Multiprocessing9. Event-driven Programming10. Reactive Programming11. Using GPU12. Choosing a Solution