Get Free Shipping on orders over $89
Internals of Python 3.X : Derive Maximum Code Performance and Delve Further Into Iterations, Objects, Gil, Memory Management, and Various Internals - Prashanth Raghu

Internals of Python 3.X

Derive Maximum Code Performance and Delve Further Into Iterations, Objects, Gil, Memory Management, and Various Internals

By: Prashanth Raghu

Paperback | 8 December 2021

At a Glance

Paperback


$50.39

or 4 interest-free payments of $12.60 with

 or 

Ships in 5 to 7 business days

Deroute the syntactical way and start exploring the language from the sourceKey FeaturesIn-depth practical understanding of CPython's internal workings.Step-by-step source code walkthrough utilizing descriptors on source code lines.Cutting-edge coverage of the interpreter, GIL, compilation, and memory allocations to help you develop better systems.DescriptionInternals of Python 3.x transform a programmer's learning path by emphasizing the source code over the syntax to teach things from the ground up in nearly the same amount of time and effort.The book delves into the structure and distinctions between the primary Python object and iterable objects. The iterable types, namely, lists and tuples, have been thoroughly defined in the structure and operations. The internals of sets and dictionaries, which are data structures that provide O(1) insertion and search, have been thoroughly discussed. Memory allocation explains how Python handles memory for tiny and large objects. The chapter on GIL explains how the GIL works, which is halted by a semaphore and a conditional variable. The chapter on Async Python describes how the async module generates coroutines and async functions that can be executed on an event loop and interact through events.After reading this book, you will be more confident to create high-performance code on a day-to-day basis.What you will learnUtilize data structures effectively for a variety of application functions.Discover how to optimize Python code performance.Develop an understanding of memory optimization and how to design programs accordingly.Investigate the inner working of GIL and Interpreter in detail.Recognize the internals of the garbage collection and reference counting processes.Who this book is forThis book is intended for Python practitioners, new coding aspirants, and experienced Python developers who want to construct their frameworks and libraries by investigating tokenizers, parsers, code compilers, interpreters, memory management, GIL, and garbage collection. Prior programming skills in C may help you get the most out of this book.Table of Contents1. Design of Generic Objects2. Basic Python Types3. Iterable Sequence Objects4. Set and Dictionary5. Functions and Generators6. Memory Management7. Interpreter and Opcodes8. GIL and Multithreading9. Async Python10. Source Code Layout and the Compiler StagesRead more

More in Information Technology General Issue

How to Talk to AI : (And How Not To) - Jamie Bartlett

RRP $26.99

$22.99

15%
OFF
Open to Work : How to Get Ahead in the Age of AI - Aneesh Raman

RRP $34.99

$27.99

20%
OFF
Doppelganger : A Trip Into the Mirror World - Naomi Klein

RRP $26.99

$22.99

15%
OFF
Careless People : A story of where I used to work - Sarah Wynn-Williams

RRP $24.99

$21.75

13%
OFF
Apple : The First 50 Years - David Pogue

RRP $80.00

$58.99

26%
OFF
The Singularity is Nearer : When We Merge with AI - Ray Kurzweil

RRP $26.99

$21.75

19%
OFF
Why I Am Not Going to Buy a Computer : Penguin Modern - Wendell Berry
Against the Machine : On the Unmaking of Humanity - Paul Kingsnorth

RRP $55.00

$42.75

22%
OFF
Gilded Rage : Elon Musk and the Radicalization of Silicon Valley - Jacob Silverman
As If Human : Ethics and Artificial Intelligence - Nigel Shadbolt

RRP $26.95

$22.99

15%
OFF
Man-Made : How the bias of the past is being built into the future - Tracey Spicer