• Sources: Rust Glancer introduction, HN discussion
  • Summary: The project is a Rust language server that gives up incremental analysis in exchange for an index that lives on disk. The stated targets are an index under 100 MB and no re-indexing when the editor restarts. The mechanism is that analysis is frozen and invalidated on save rather than on keystroke, and the stated cost is that new imports, structures and traits are not indexed until the file is saved.
  • Why it matters: Freezing the analysis and invalidating it on save is what lets the index live on disk and survive a restart, and the stated cost is that new imports, structures and traits are not indexed until the file is saved.

send feedback on this story