~/talk

Reducing Interpreter Overhead

Talkat Dyalog '13 · 2013-10-20..10-24
name:Jay Foad
links:none on file
slides:none on file

An experimental bytecode compiler runs at function fix time, parses whole dfn capsules into a parse tree, emits compact bytecode and falls back to the interpreter when it cannot analyze constructs like global names, execute or namespace dot. Small scalar-heavy functions see typical speedups around 2× and up to 2.5× in favorable cases; parsing currently accounts for ~50% of time so gains cap around that. Available in Version 14 beta (disabled by default), with an i-beam control, nested dfns compile but top-level calls to other top-level functions do not yet.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:27Project background and goals
  3. 3:14How interpreter works currently
  4. 7:49Examples of interpreter overhead
  5. 14:05Compiler strategy overview
  6. 18:14Compiler internals and bytecode
  7. 21:22Performance improvements results
  8. 23:08Compiler limitations explained
  9. 28:10Practical code examples
  10. 31:48Future high-level optimizations
  11. 37:46Availability and next steps
  12. 39:52Q&A session
~/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.