Serdar Yegulalp
Senior Writer

Mozilla’s Rust goes real-time with code feedback

news analysis
Oct 19, 20162 mins

Rust Language Server provides live information such as code completion and documentation through a Microsoft co-developed protocol

Developers of Mozilla’s Rust language, devised for fast and safe system-level programming, have unveiled the first release of the Rust Language ServiceΒ (RLS), a project that provides IDEs and editors with live, contextual information about Rust code.

RLS is one of the first implementations of the Language Server Protocol, co-developed by Microsoft, Codenvy, and Red Hat to standardized communications between IDEs and language runtimes.

It’s another sign of Rust’s effort to be an A-list language across the board β€” not only by providing better solutions to common programming problems, but also cultivating first-class, cutting-edge tooling support from beyond its ecosystem.

At this stage, RLS provides a few basic but broadly useful functions. It can flag errors as you type, locate all references for a particular symbol within a codebase, rename symbols, and provide documentation for objects found inΒ the standard library.

The first release of RLS is β€œpre-alpha” β€” at this stage it’s best thought of as a proof of concept rather than a working product. ItΒ uses the Rust compiler to supply much of the data, but in its current state, the compiler can’t always provide the data fast enough,Β especially when dealing with functions in larger Rust β€œcrates,” or packages.

One of the features planned for the Rust compiler, incremental compilation, should provide a performance boost to RLS as a by-product. The feature is still under wraps. Instead, RLS also makes use of an existing Rust crate, Racer, which provides code-completion data.

RLS isn’t of much use by itself; it needs an IDE that supports the Language Server Protocol as a front end. Two such IDEs already exist: Eclipse and Microsoft’s Visual Studio Code. One of RLS’s chief developers, Jonathan Turner, has produced aΒ sample RLS client for Visual Studio Code, so Rust developers who use that editor can start experimenting with it immediately.

Be warned: This is still extremely rough software, so functions like refactoring code could be destructive.Β As the documentation says, β€œ[RLS] is not ready for real use. It will probably eat your laundry.” Or at least leave it with rust stains.

Serdar Yegulalp

Serdar Yegulalp is a senior writer at InfoWorld. A veteran technology journalist, Serdar has been writing about computers, operating systems, databases, programming, and other information technology topics for 30 years. Before joining InfoWorld in 2013, Serdar wrote for Windows Magazine, InformationWeek, Byte, and a slew of other publications. At InfoWorld, Serdar has covered software development, devops, containerization, machine learning, and artificial intelligence, winning several B2B journalism awards including a 2024 Neal Award and a 2025 Azbee Award for best instructional content and best how-to article, respectively. He currently focuses on software development tools and technologies and major programming languages including Python, Rust, Go, Zig, and Wasm. Tune into his weekly Dev with Serdar videos for programming tips and techniques and close looks at programming libraries and tools.

More from this author