~/talk

IR JIT Framework: the base for the next generation of JIT in PHP

TalkinRussianat Joker 2023 · 2023-10-09..10-14· [compilers-and-language-design, php]
links:none on file
slides:none on file

Describes an IR-based JIT framework being developed for PHP-9: PHP will emit an intermediate representation (IR) and a separate language-agnostic library will handle optimizations, register allocation and machine-code generation (an LLVM-like JIT backend specialized for runtime compilation). Presents the open-source project (https://github.com/dstogov/ir), explains motivations from limitations of PHP‑8.0’s function and tracing JITs, and notes similarities to Java HotSpot C2 and V8 TurboFan design.

AI-written summary · about

  1. 0:00Introduction
  2. 2:03PHP optimization history
  3. 6:36Current JIT problems
  4. 7:20New JIT framework
  5. 9:30New compiler principles
  6. 16:56SSA graph creation
  7. 23:55Global code optimizations
  8. 27:10Native code generation
  9. 35:51Project results and plans
  10. 37:20Q&A
~/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.