~/talk

Teaching old compilers new tricks

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [rust]
slides:none on file

Claims a working preprocessor called clang from the future that uses libclang AST transforms to transpile C++14/17 features into C++11 source so legacy compilers can compile them. Implements structured bindings, binary literals, digit separators, fold expressions, if constexpr via generated explicit template specializations and rewrites, integrates with make and CMake integration, and even emits object files for embedded toolchains (demo on an ESP32 object file). Prototype exists; production version is proprietary; debug-info roundtrips are planned but not yet implemented.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49What do you do
  3. 2:07Where are we today
  4. 7:21The problem
  5. 8:41Classical solution
  6. 10:32What is CFDF
  7. 13:40How does CFDF work
  8. 15:37CFDF abstract syntax
  9. 16:47AST visitors
  10. 18:43cat or dog
  11. 20:58clang from the future
  12. 26:02inplace
  13. 28:37regular if statement
  14. 33:52forward expressions
  15. 40:40future
  16. 43:54developers
  17. 45:25use cases
  18. 48:11summary
~/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.