Facebook Engineering Blog
Indexing code at scale with Glean

Indexing code at scale with Glean

12/19/2024 · Simon Marlow, Pepe Iborra

What this post added

This post introduces Glean, Meta's open-source system for code indexing, which significantly enhances developer tooling. It explains the importance of code indexing for tools like IDEs, code search, and documentation generation, especially in large codebases. The post details Glean's design rationale, emphasizing its generality, flexible query language (Angle), and ability to store arbitrary data. It also highlights Glean's innovative incremental indexing approach for efficient processing of changes. The post further elaborates on how Glean is used at Meta for code navigation, providing instant availability, wider integration, full repository visibility, and cross-language navigation, and also for speeding up IDE performance.

Read the original post ↗