~/talk

CPython, Grumpy, PyPy - When, How, Why

Talkat PyCon Israel 2017 · 2017-06-11..06-13· [python]
links:none on file
slides:none on file

Compares CPython, PyPy and Grumpy with concrete benchmarks and tradeoffs: CPython hits the GIL so threading raises an 8.8s counter run to ~13s, giving no speedup; PyPy’s JIT warmup yields a 3.6s Fibonacci run and much faster repeated/long-running workloads but hurts short scripts and has poor C-extension support; Grumpy compiles Python to Go producing large Go output, uses Go’s garbage collector and no GIL, and beats others when thousands of tiny goroutines run simple tasks (YouTube‑style), but is incomplete and regresses on larger computations.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:05Python vs CPython distinction
  3. 2:29Global Interpreter Lock explained
  4. 4:19Multiprocessing vs threading
  5. 5:24Event-driven programming
  6. 8:12CPython performance demo
  7. 10:45Threading limitations in CPython
  8. 11:51When to use CPython
  9. 12:13PyPy overview and features
  10. 13:44PyPy’s approach to GIL
  11. 14:50Software Transactional Memory
  12. 15:57Just-In-Time compilation
  13. 17:39PyPy performance demo
  14. 22:39Grumpy introduction
  15. 23:43Why Google created Grumpy
  16. 25:07Grumpy architecture
  17. 26:49Grumpy demo and benchmarks
  18. 31:30Grumpy generated Go code
  19. 34:53Runtime comparison summary
  20. 36:45Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.