Fundamentals 4 min read

Why Rust Analyzer Is Replacing RLS: Faster IDE Support in Rust 1.64

Rust’s language server RLS will be deprecated in September 2022 as Rust 1.64 launches, with the faster, incremental‑compilation Rust Analyzer taking its place, offering improved IDE features across editors like VS Code, Vim, and Emacs, and reflecting the language’s rapid release cycle.

21CTO
21CTO
21CTO
Why Rust Analyzer Is Replacing RLS: Faster IDE Support in Rust 1.64

Rust language server (RLS) final version will be released together with Rust 1.64 in September 2022, after which RLS will be deprecated and replaced by Rust Analyzer.

Both RLS and Rust Analyzer implement the Language Server Protocol (LSP), enabling IDEs to provide static analysis features such as error detection, code completion, and custom navigation, thereby boosting developer productivity.

Supported editors include VS Code, Visual Studio, Vim/Neovim, Sublime, Eclipse, and Emacs.

RLS relies on rustc’s “save analysis” mode, which compiles code in the background and parses the output, a process that is relatively slow.

Rust Analyzer uses a faster incremental compilation mechanism and became an official part of the Rust project in February, quickly proving itself as the most promising IDE integration.

Over 1,000 unresolved issues remain, reflecting community interest and the complexity of Rust Analyzer; the RFC that made it the official Rust LSP was described as the most positively received Rust RFC ever.

According to the 2021 Rust developer survey, the most popular Rust IDEs are VS Code (53.69%) and Vi/Vim/Neovim (28.15%), with JetBrains IDEs at 21.24% offering their own Rust plugin that does not require Rust Analyzer.

Rust 1.62 introduced features such as cargo add for adding dependencies from the command line, default values for enum variants, lightweight mutexes on Linux, and easier building of no‑std binaries for kernel development.

Rust follows a six‑week release cycle, creating a new beta branch each cycle and promoting the previous beta to stable, which reduces pressure on volunteers by allowing unfinished features to be delayed without immediate release concerns.

Rust Analyzer extension in VS Code replaces RLS
Rust Analyzer extension in VS Code replaces RLS
RustIDELanguage ServerRLSRust Analyzer
21CTO
Written by

21CTO

21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.