~/talk

Just-in-Time Compilation: The Next Big Thing?

Talkat CppCon 2020 · 2020-09-14..09-18· [compilers-and-language-design]
links:none on file
slides:none on file

Shows a practical clang-jit (P1609) workflow that turns runtime strings into types, compiles targeted functions on demand, and promotes runtime data into compile-time optimizations. Demonstrations include generating compile-time dispatch from runtime maps, emitting IR from the in-process Clang and then using LLVM to produce a stripped ~1 MB binary (host AOT build was 75 MB because it embeds the compiler). Covers lambdas-as-code, error propagation from Clang, performance gains, and the real risk of C++ injection risk plus mitigations; highlights clang-jit (P1609) and saved IR to produce 1MB binary.

AI-written summary · about

  1. 0:00Introduction to JIT
  2. 1:13Motivation for JIT compilation
  3. 6:08Existing JIT solutions in C++
  4. 11:04How Clang JIT works
  5. 17:28JIT utilities and examples
  6. 27:25C++ as a scripting language
  7. 30:16Real-world JIT performance use
  8. 33:48Compile-time vs runtime dispatching
  9. 40:16Saving compiled JIT functions
  10. 44:53JIT and concepts interplay
  11. 53:17JIT for modding and APIs
  12. 57:07Summary and future of JIT
  13. 1:01:21Q&A on JIT vs JavaScript
~/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.