42
you are viewing a single comment's thread
view the rest of the comments
[-] SorteKanin@feddit.dk 3 points 1 week ago

Definitely useful and I think it compares pretty well to other tooling? My two biggest issues are compile times and "amnesia". First of all, compile times because the feedback cycle can get really bad. But that's not really rust-analyzer's fault, that's cargo/rustc.

But rust-analyzer also has this weird "amnesia". Like if I have ran the checks and everything is good, I can go to definition and it will instantly bring me there. But if I make a small change and it starts running cargo check, it's like it forgets everything until it's done with cargo check. I wish it still allowed me to use what it knew before and go to definitions and give suggestions and such.

Yeah, rust-analyzer has been perfectly fine for me as well, though I honestly don't expect a ton from my editor.

weird “amnesia”

Ah, while it's processing everything again. My project is pretty small and my computer is pretty fast, so I guess I haven't noticed. I also don't use a ton of its features, because I tend to already know where things are.

[-] SorteKanin@feddit.dk 2 points 1 week ago

It's definitely not a problem in my own projects, but at work is a different story. With a huge project, compile times becomes a real slog.

this post was submitted on 13 Feb 2025
42 points (100.0% liked)

Rust

6397 readers
193 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS