Skip to content
0:00 / 0:00

#rust-analyzer#lsp#ide

Explaining Rust Analyzer: 01 Repository Overview

Aleksey Kladov

1.9K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Aleksey Kladov, creator of rust-analyzer
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

14K views5 years ago2 recommendations

Programming languagesTools and practiceRustVim, Emacs and editors

Aleksey Kladov provides an architectural overview of the rust-analyzer codebase, explaining how the language server is structured.

Discussion: rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fr… Playlist: youtube.com/playlist?list=PLhb66M_x9UmrqXhQuIpWC5VgTdrGxMx3y

Why it's here

2 people recommend this

What people say. Recommended as a world-class resource for understanding language server protocol implementations and compiler architecture.

u/TheGrooshin r/ProgrammingLanguages • Recommends

On “Which language (programming or otherwise) do you think currently lacks an LSP”

Explaining rust analyzer is a great resource. Many useful insights even beyond rust. His blog and the rust-analyzer blog is also great. The haskell lsp library seems pretty cool, but I have not taken a deep look at it. It looks like it contains a number of useful abstractions for implementing LSPs in general. You can take a look at my work that uses the ocaml-lsp library, but there still are many bugs in this implementation. It is based on the LSP that is part of the asai compiler diagnostics library

u/RobertJacobsonin r/ProgrammingLanguages • Recommends

On “Compiler source code that you enjoy to read?”

World class rust expert u/matklad has a YouTube series explaining Rust analyzer.