~/talk

Turning Python into Go. Why?

TalkinRussianat PyCon Russia 2024 · 2024-07-26..07-27· [python, concurrency]
links:none on file
slides:none on file

Talk explains how a Python codebase was adapted to a Go-like concurrency model without full rewrite: using goroutine-style concurrency patterns to add multitasking to an originally synchronous, I/O-bound Python project. It describes why async/await introduced complexity and how the team implemented an alternative approach that lets developers write code more like Go goroutines while keeping most of the existing Python code.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Python async vs sync
  3. 3:16Python split problems
  4. 5:05Why sync over async
  5. 9:22Sync concurrency benefits
  6. 10:30When threads aren't enough
  7. 12:19Turning Python into Go
  8. 17:15Patching blocking ops
  9. 20:50Positive transition outcomes
  10. 22:38Why Go fits sync
  11. 24:04Modern Python advice
  12. 25:31Summary
  13. 25:53Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.