Carte Programmer's Python: Async - Threads, processes, asyncio & more: Something Completely Different Mike James

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

Autor: Mike James
Limbă: engleză
Legare: Carte broșată
Disponibilitate: În depozitul extern
Expediem în 9-15 zile
175.88 lei
Python has more flexibility than most modern programming languages which makes it a very easy langua...

Informații despre carte

Autor
Limbă
engleză
Legare
Carte - Carte broșată
Publicat
2022
Pagini
302
EAN
9781871962765
ISBN
1871962765
Enbook ID
41874134
Greutate
526
Dimensiuni
178 x 254 x 16

Descriere completă

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.

S-ar putea să te intereseze

204.94 lei

Story of Proof

John Stillwell
266.30 lei
344.58 lei
105.40 lei

Born Again

Lady Debo
103.48 lei

Triality

Eric Warren
69.96 lei
71.07 lei

Bicycling Science

Theodor Schmidt
163.42 lei

Independence

Charlotte Brontë
36.04 lei
239.98 lei
271.97 lei
212.53 lei

Totally Football Book

James Richardson
128.79 lei
77.15 lei
140.03 lei
85.15 lei

Unbreakable

Vonda Wright
84.34 lei

History of Rome

Theodor Mommsen
154.11 lei

Sylvia's Pocket Posh Journal, Chevron

Andrews McMeel Publishing
41.71 lei

Clienții care au cumpărat această carte au mai cumpărat și

67.43 lei

Ztracené dívky z Willowbrooku

Ellen Marie Wisemanová
13.86 lei

Kuchnia dla zielonych

Paweł Płaczek
91.12 lei

Ve stínu mužů

Alena Flimelová
90.92 lei
97.20 lei
54.37 lei
73.20 lei

Na dne duše

Juraj Ďúran
24.90 lei
161.30 lei

Přijměte své vnitřní dítě

Gabriela Bunz Schlösser
44.44 lei