~/talk

Glean: C++ Code Indexing at Meta

Talkat C++Now 2024 · 2024-04-29..05-03· [developer-experience, c-and-cpp]
links:none on file
slides:none on file

Glean is a Meta-built indexing platform that uses Clang ASTs, RocksDB and a small query language (Angle) to store deduplicated facts from huge C++ trees plus Buck2 and Thrift artifacts, collapsing thousands of header occurrences into single facts and powering go‑to‑definition, cross‑repo Thrift→C++ jumps and incremental rebuilds. It records macro spellings vs expansions and separate name locations, derives a language‑neutral code‑markup layer, and exposes queries as stored predicates so Angle schema + Thrift facts drive fast navigation and analytics.

AI-written summary · about

  1. 0:00Introduction to Glean
  2. 6:49Architecture overview
  3. 11:00Schema design challenges
  4. 19:14Macro location types
  5. 22:19Introducing Angle
  6. 33:03Deriving code markup
  7. 40:59C++ macro navigation
  8. 47:14Demo of macro navigation
  9. 49:20Template instantiation indexing
  10. 51:30Handling local edits
  11. 54:44Adopting Glean in projects
  12. 57:11Incremental indexing
  13. 1:01:31Cross-repository navigation
  14. 1:06:10Future improvements
  15. 1:11:31Open sourcing LSP integration
  16. 1:19:40Supporting multiple languages
  17. 1:21:50Closing and Q&A
~/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.