Python Integers Behind the Scenes

Experience Level: all

Learn about how Python manages to operate with arbitrary size integers under the hood.


  • timeslot: Monday 7th April 2025, 11:00-12:00, Room B
  • tags: other

Have you ever wondered how Python handles integer arithmetic of arbitrary size? In Python you can define integers as big as you like and perform any arithmetic or bitwise operations effortlessly despite your CPU being limited to 32 or 64 bit registers. This talk will walk you through internal algorithms of arbitrary precision integer handling and show you how you can think creatively and out-of-the-box when tackling similar challenges in software design.

Yan Yanchiy
I’m a senior software engineer at Kiwi.com, a leading global travel tech company headquartered in the Czech Republic, and I work on the Search team. Being Python sponsor and contributor I particularly enjoy delving into CPython and its internal workings. My preference for creating things from scratch, as opposed to relying on pre-made solutions, has helped me develop a profound grasp of the technical foundations of software development.
Yan Yanchii