~/lightning

Lightning Talk: I Wrote a C++ REPL in 20 Lines of Code - And so can you!

Lightningat CppCon 2021 · on Sunday, 2021-10-24· [developer-experience]
links:none on file
slides:none on file

A replay-based REPL that compiles a pasted line into a program, runs the executable, diffs output and repeats, actually works for C++ demos. It starts from experimenting with Cling and ends with a pragmatic tool: about 300 lines of orchestration plus per-language 20 lines of JSON (six to compile, one to run, seven to paste, six for console). Demo shows Hello World, variables, and a surprising reference_wrapper swap behavior, and modern compilers make it fast.

AI-written summary · about

~/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.