~/talk

Interactive C++ Compilation (REPL) Done in a Tiny and Embeddable Way

Talkat CppCon 2018 · 2018-09-23..09-28· [c-and-cpp, developer-experience]
links:none on file
slides:none on file

A tiny embeddable REPL compiles submitted C++ into shared-plugin snapshots, links them to the running executable, and initializes globals in top-to-bottom order so state persists across submissions while new plugins accumulate on disk. Implementation fits in five source files (~800 LOC) with a 400-line parser for vars/global/once sections, supports C++11, uses one small fork helper, and shows practical results through two live demos (an interactive squares scene and a modular engine using dynamix), with notes on limitations like function address churn and crash handling.

AI-written summary · about

  1. 0:00Introduction to C++ REPL
  2. 3:17First demo of interactive compilation
  3. 18:36Technical implementation details
  4. 21:08Second demo with dynamix library
  5. 26:30Key takeaways and future work
  6. 27:11Q&A session
~/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.