logo
episode-header-image
May 2024
29m 4s

They made Python faster with this compil...

Hussein Nasser
About this episode
<p>Fundamentals of Operating Systems Course https://oscourse.win Looks like fedora is compiling cpython with the -o3 flag, which does aggressive function inlining among other optimizations. This seems to improve python benchmarks performance by at most 1.16x at a cost of an extra 3MB in binary size (text segment). Although it does seem to slow down some b ... Show More
Up next
Jan 19
5 Backend Design Patterns for Managing Threads and Sockets
In this video I introduce 5 different design patterns for building backend applications. Each mode explains how a socket listener is established, a connections are established and how threads and connections are managed to read, write and process requests. 
46m 9s
Dec 15
Page Tables
Page tables provide the mapping between virtual memory and physical memory for each process. This means it needs to be as efficient and as fast as possible. I explore the inner workings of page tables in this episode.0:00 Intro2:00 Virtual Memory ⁃ ⁃ 8:00 MMU10:00 Page Tables ⁃ ⁃ ... Show More
46m 39s
Nov 24
CPU and Kernel Page Faults
<p>Page faults occurs when the process tries to access a memory that isn’t backed by a physical page kernel raises a fault which loads a page. It happens on first access, stack expansion, COW, swap and much more. However it comes with a cost. </p><p><br /></p><p>In this episode o ... Show More
48m 37s
Recommended Episodes
Jun 2022
#369: Getting Lazy with Python Imports and PEP 690
See the full show notes for this episode on the website at <a href="https://talkpython.fm/369">talkpython.fm/369</a> 
56m 26s
Sep 2022
#382: Apache Superset: Modern Data Exploration Platform
See the full show notes for this episode on the website at <a href="https://talkpython.fm/382">talkpython.fm/382</a> 
1h 8m
Aug 2023
#425: Memray: The endgame Python memory profiler
See the full show notes for this episode on the website at <a href="https://talkpython.fm/425">talkpython.fm/425</a> 
1h 10m
Sep 2023
#431: Visualizing CPython Release Process
See the full show notes for this episode on the website at <a href="https://talkpython.fm/431">talkpython.fm/431</a> 
1h 2m
Nov 2022
#391: Pyscript powered by MicroPython
See the full show notes for this episode on the website at <a href="https://talkpython.fm/391">talkpython.fm/391</a> 
1h 11m
Jul 2023
#421: Python at Netflix
See the full show notes for this episode on the website at <a href="https://talkpython.fm/421">talkpython.fm/421</a> 
1h 4m
Feb 2024
#449: Building UIs in Python with FastUI
See the full show notes for this episode on the website at <a href="https://talkpython.fm/449">talkpython.fm/449</a> 
1h 6m
Feb 2023
#404: Clean Code in Python
See the full show notes for this episode on the website at <a href="https://talkpython.fm/404">talkpython.fm/404</a> 
1h 4m
Jan 2024
#446: Python in Excel
See the full show notes for this episode on the website at <a href="https://talkpython.fm/446">talkpython.fm/446</a> 
48m 9s
Mar 2024
#453: uv - The Next Evolution in Python Packages?
See the full show notes for this episode on the website at <a href="https://talkpython.fm/453">talkpython.fm/453</a> 
1h 14m