Get the latest tech news

Indexing Code at Scale with Glean


We’re sharing details about Glean, Meta’s open source system for collecting, deriving, and working with facts about source code. In this blog post we’ll talk about why a system like Glean is import…

As the IDE loads the files the developer is working on, the C++ language service seamlessly blends the Glean-provided data with that provided by the native clangd backend. Our target was C++ developers initially because that group typically has the worst IDE experience due to the long compile times, but the approach is not specific to C++ and we imagine other languages following the same path in the future. The data we store in Glean includes enough information to reconstruct the full details of an API: classes, methods, type signatures, inheritance, and so on.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of scale

scale

Photo of indexing code

indexing code

Related news:

News photo

The Anatomy of a Large-Scale Hypertextual Web Search Engine (1998)

News photo

Million GPU clusters, gigawatts of power – the scale of AI defies logic

News photo

‘World’s first’ grid-scale nuclear fusion power plant announced in the US