Menu

Hello, world! · Rust Glancer
📰

Hello, world! · Rust Glancer

Hacker News·2 months ago
#QZMcPkQW
#rust-glancer#rust#lsp#indexing#article
Reading 0:00
15s threshold

I want to present a project that I've been working on for the past 4 months: an alternative Rust LSP implementation that is built with a focus on low memory usage.

It has two main features:

It can use very little memory (target <100mb for reasonable projects). There are caveats, these are described below.

It allows immediate indexing after restart: if your project was indexed, restarting the editor will not require re-indexing.

Your browser does not support embedded videos. You can download the recording instead. Note: throughout this video, the used RAM remained under 100mb

These features make Rust Glancer suitable for the older computers: I have tested it on my old MacBook Pro M1 2020 with 8GB RAM, and it was pretty good.

Machine LSP Base indexing (engine usable) Full indexing

MacBook Pro M4 Max, 36GB (2025) Rust Glancer 5 seconds 8 seconds

MacBook Pro M4 Max, 36GB (2025) rust-analyzer 6 seconds 13 seconds

MacBook Pro M1, 8GB (2020) Rust Glancer 6 seconds 9 seconds

MacBook Pro M1, 8GB (2020)…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.