~/talk

Inside a PyPy JIT: is that even legal?

Talkat PyCon APAC 2018 · 2018-05-31..06-02· [python, compilers-and-language-design]
links:none on file
slides:none on file

Claims that the RPython toolchain automatically converts an interpreter into specialized code by applying partial evaluation: opcode dispatch and stack-state are inlined away, boxing is removed, and handlers collapse into direct operations. Example: the ABS function becomes a single function that extracts a low-level value, computes sign and multiply, and returns an unboxed long, with no interpreter loop remaining. The pipeline yields standalone, fast binaries (PyPy JIT generator style) and demonstrably removes interpretation overhead.

AI-written summary · about

  1. 0:00Introduction to PyPy JIT
  2. 1:50Dynamic languages and DSLs
  3. 4:33Stack-based interpreter design
  4. 7:44Partial evaluation magic
  5. 12:21Optimizing interpreter code
  6. 16:42Performance and conclusion
~/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.