~/talk

Of JavaScript Ahead-Of-Time Compilation Performance

Talkat Strange Loop 2022 · 2022-09-22..09-24· [javascript, web-performance]
links:none on file
slides:none on file

AOT compiler Hopc compiles JavaScript to Scheme then C, uses optimistic/speculative rules with guards instead of heavy static analyses, and produces specialized fast paths for common shapes and proxies. Benchmarks show competitive results on realistic npm workloads, worse on floating point heavy Octane tests, and overall memory wins because no JIT is embedded. Typical runtime is around 2–2.5× slower than top JITs on many suites but beats them on some patterns; the system is implemented and evaluated end to end so viewers see how it is built and where it fails.

AI-written summary · about

  1. 0:00JavaScript compilation challenges
  2. 6:25JavaScript compiler difficulties
  3. 8:55Compiler implementation strategies
  4. 11:42Hop AOT compiler
  5. 13:47Static JavaScript compilation
  6. 14:29Opportunistic compilation
  7. 19:47Type inference and specialization
  8. 20:50JavaScript to Scheme compilation
  9. 23:21Optimizing arrow functions
  10. 25:27Hop vs JIT benchmarks
  11. 28:18New performance test suite
  12. 31:49Performance and memory results
  13. 33:12Future research directions
~/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.