Internals of Python 3.x: Derive Maximum Code Performance and Delve Further into Iterations, Objects, GIL, Memory management, and various Internals

Deroute the syntactical way and start exploring the language from the source

Key Features

  • In-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.

Internals 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 learn

  • Utilize 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.
No comments found.
Login to post a comment
This item has not received any review yet.
Login to review this item
No Questions / Answers added yet.
Category Programming
Release date 2022-04-07
Latest update 2022-04-07
Included files EPUB,PDF
Pages 236
Language English
Comments 0
Sales 0
Recently viewed items

We use cookies to understand how you use our website and to improve your experience. This includes personalizing content and advertising. To learn more, please click Here. By continuing to use our website, you accept our use of cookies, Privacy policy and terms & conditions.

Processing