Programmer's Python: Async - Threads, processes, asyncio & more: Something Completely Different, (Paperback)

Programmer's Python: Async - Threads, processes, asyncio & more: Something Completely Different, (Paperback)

(No ratings yet)

Key item features

  • Programmer's Python: Async - Threads, processes, asyncio & more: Something Completely Different, (Paperback)
  • Author: I/O Press
  • ISBN: 9781871962765
  • Format: Paperback
  • Publication Date: 2022-10-05
  • Page Count: 302

Specs

Publication date, October, 2022Author, I/O PressBook format, PaperbackGenre, Computing & InternetPages, 302Age group, Adult

About this item

Product details

Python has 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.

Programmer's Python: Async 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.

Python 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.

Mike James 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 I-Programmer, the online magazine written by programmers for programmers and the author of dozens of books. As well as Programmer's Python: Everything Is An Object, Second Edition and Programmer's Python: Everything Is Data, his recent books include Deep C#, JavaScript Jems, Programmer's Guide to Kotlin, Programmer's Guide To Theory and The Trick Of The Mind: Programming and Computational Thought.
  • Programmer's Python: Async - Threads, processes, asyncio & more: Something Completely Different, (Paperback)
  • Author: I/O Press
  • ISBN: 9781871962765
  • Format: Paperback
  • Publication Date: 2022-10-05
  • Page Count: 302
info:
We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here, and we have not verified it.  

Specifications

Publication date

October, 2022

Author

I/O Press

Book format

Paperback

Genre

Computing & Internet

Warranty

Warranty information

Please be aware that the warranty terms on items offered for sale by third party Marketplace sellers may differ from those displayed in this section (if any). To confirm warranty terms on an item offered for sale by a third party Marketplace seller, please use the 'Contact seller' feature on the third party Marketplace seller's information page and request the item's warranty terms prior to purchase.

Customer ratings & reviews

0 out of 5 stars
0 ratings|0 reviews
This item does not have any reviews yet
Current price is $32.64
Price when purchased online
  • Free shipping
  • Free Holiday returns until Jan 31

How do you want your item?

How do you want your item?
Ships to
Arrives between Dec 7 - Dec 9
|
Sold and shipped by Alibris Books
4.586673442164772 out of 5 stars
4.6 stars out of 5, based on 15743 seller reviews(4.6)
Extended holiday returns
Free Holiday returns until Jan 31

More seller options (2)

Starting from $34.95