~/talk

Glean: Data about Code

Talkat YOW! Melbourne 2022 · 2022-12-08..12-09· [developer-experience, databases]
slides:none on file

Glean is an open-source system that indexes code into strongly typed facts stored in RocksDB and answers millisecond queries via a Datalog-like language called angle; indexers use native compiler front ends (Clang for C++) and a command-line glean index/interactive shell workflows. It runs at scale (example: indexing React with Flow produces 430,000 facts in 15 MB), compiles queries to bytecode, has a Haskell type-safe DSL and codegen, and uses the haxel/applicative-do stack to run many queries concurrently.

AI-written summary · about

  1. 0:00Introduction to Glean
  2. 2:24System architecture
  3. 4:43Data model and schemas
  4. 9:27Querying with Angle
  5. 12:20Language-agnostic querying
  6. 17:25Code markup layer
  7. 20:29Haskell-based DSLs
  8. 27:39Concurrency and availability
~/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.