BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//pretalx//programme.europython.eu//europython-2026//talk//PWGSJQ
BEGIN:VTIMEZONE
TZID:CET
BEGIN:STANDARD
DTSTART:20001029T040000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20000326T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:pretalx-europython-2026-PWGSJQ@programme.europython.eu
DTSTART;TZID=CET:20260717T122500
DTEND;TZID=CET:20260717T125500
DESCRIPTION:It’s common to hear complaints about Python being slow. In th
 is talk\, I will show how to make _some_ Python programs dramatically fast
 er by using Python 3.14’s free threading and ahead-of-time compilation t
 o C extensions using the mypyc compiler\, while staying entirely in Python
  (and CPython). \n\nFree threading can deliver large speedups for CPU-boun
 d code that can be adapted for parallel execution\, while mypyc speeds up 
 workloads that benefit from reduced interpreter overhead and that can use 
 static typing. If each can give a 10x speedup in an ideal use case\, can w
 e get a “holy grail” 100x speedup by using both?\n\nI’ll introduce s
 everal small examples inspired by real-world workloads\, measuring and exp
 laining what happens when you apply free threading\, mypyc\, or both. In p
 ractice\, relatively few programs are perfect fits for both techniques at 
 once\, but when they are\, you can get substantial gains. Having both tool
 s available gives you options for attacking a wide range of performance pr
 oblems.\n\nAlong the way\, I’ll cover various bottlenecks you are likely
  to encounter while optimizing real-world workloads. These often limit per
 formance scaling. I'll explain how to diagnose and improve allocation-heav
 y code and thread contention caused by reference counting\, in particular.
DTSTAMP:20260524T130702Z
LOCATION:Auditorium Hall (S1)
SUMMARY:Speeding Up Python with Free Threading and Mypyc - Jukka Lehtosalo
URL:https://programme.europython.eu/europython-2026/talk/PWGSJQ/
END:VEVENT
END:VCALENDAR
