{"product_id":"programmers-python-async-threads-processes-asyncio-more-something-completely-different-paperback","title":"Programmer's Python: Async - Threads, processes, asyncio \u0026 more: Something Completely Different - Paperback","description":"\u003cdiv\u003e\u003cp style=\"text-align: right;\"\u003e\u003ca href=\"https:\/\/reportcopyrightinfringement.com\/\" target=\"_blank\" rel=\"nofollow\"\u003e\u003cb\u003eReport copyright infringement\u003c\/b\u003e\u003c\/a\u003e\u003c\/p\u003e\u003c\/div\u003e\u003cp\u003eby \u003cb\u003eMike James\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003e\u003cb\u003ePython \u003c\/b\u003ehas more flexibility than most modern programming languages which makes it a very easy language to get started with, but it has a problem - the GIL or Global Interpreter Lock. This makes getting to grips with Python Async more demanding than other languages. You can't simply take what you know about threads or processes and hope that they just work with Python. \u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cb\u003eProgrammer's Python: Async\u003c\/b\u003e is part of a set of Something Completely Different books that look at what makes Python special and sets it apart from other programming languages. This volume is about asynchronous programming, something that is is hard to get right - but well worth the trouble. An application that doesn't make use of async code is wasting a huge amount of the machine's potential. Whenever the program interacts with the outside world it has to wait for very, very, slow humans or even very slow communications to do something. If your code isn't asynchronous then it just waits for what might seem like years from the processor's point of view - remember a processor can execute around 10 million instructions in a second. If your program has to wait for even a fraction of a second that's thousands of instructions wasted. \u003cp\u003e\u003c\/p\u003ePython has some remarkably good facilities for asynchronous programming. The latest is the asyncio module which is receiving a lot of attention at the moment, but the story starts earlier. Python has modules that let you work with threads and processes in sophisticated ways. These are the foundation on which asyncio is built and they are covered in depth along with futures, tasks and schedulers. The final three chapters are devoted to asyncio and attempt, hopefully successfully, to make practical sense of a very complicated module. This is the book you need to understand all the options, trade-offs and gotchas. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eMike James\u003c\/b\u003e has a BSc in Physics, an MSc in Mathematics and a PhD in Computer Science and in a long career as a programmer he has mastered many programming languages. He is the founder and chief editor of\u003ci\u003e\u003cb\u003e I-Programmer\u003c\/b\u003e\u003c\/i\u003e, the online magazine written by programmers for programmers and the author of dozens of books. As well as \u003ci\u003e\u003cb\u003eProgrammer's Python: Everything Is An Object, Second Edition\u003c\/b\u003e\u003c\/i\u003e and \u003ci\u003e\u003cb\u003eProgrammer's Python: Everything Is Data, \u003c\/b\u003e\u003c\/i\u003e his recent books include \u003ci\u003e\u003cb\u003eDeep C#\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003e JavaScript Jems\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003eProgrammer's Guide to Kotlin\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003eProgrammer's Guide To Theory\u003c\/b\u003e\u003c\/i\u003e and \u003ci\u003e\u003cb\u003eThe Trick Of The Mind: Programming and Computational Thought.\u003c\/b\u003e\u003c\/i\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 302\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 0.63 x 10 x 7 IN\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e October 05, 2022\u003c\/div\u003e\n            ","brand":"BooksCloud","offers":[{"title":"Default Title","offer_id":43372417351815,"sku":"9781871962765","price":47.18,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0601\/2623\/2711\/files\/BjdfL8Yg-j9781871962765.webp?v=1761389411","url":"https:\/\/booksby.splitshops.com\/products\/programmers-python-async-threads-processes-asyncio-more-something-completely-different-paperback","provider":"Books by splitShops","version":"1.0","type":"link"}