Rustlings
rust-analyzer
Our great sponsors
Rustlings | rust-analyzer | |
---|---|---|
224 | 84 | |
34,045 | 11,332 | |
3.1% | 1.8% | |
9.4 | 9.9 | |
9 days ago | 2 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Rustlings
-
Bongo Copy Cat: A Tauri Cat that wants to be involved in everything you do π¨βπ»π©βπ»
So here's the story. I decided to learn Rust, read the docs, solved the rustlings challenges. The next step in learning a new programming language is to build something with it. And so began my dilemma.
-
Is this an idiomatic or an idiotic use of '?' ?
I'm learning Rust and solving the rustlings exercises.
-
From High-Level to Systems Programming: A Practical Guide to Rust, Part 1
Rustlings is a CLI-based open source project of small challenges that help to grow your knowledge of the language.
-
High-performance language recommendation
i can't truly speak to the relative steepness, i think like both rust and c++ can get quite steep depending on what you're doing but can also be simple in other cases. best to just try it out i'd say :) the rustlings guide https://github.com/rust-lang/rustlings which parallels the rust book https://doc.rust-lang.org/book/ is a good way to learn. doing things like advent of code could also help. the most common hurdles with rust are "lifetimes" and "the borrow checker", and it just takes practice to figure them out
-
need some help returning a value
I recommend checking out the Rustlings exercises - they provide a really good overview of approaching concepts in Rust, if you're having difficulty with the docs.
perfect thank you so much for the explanation and for the link i got it working :)
-
What's everyone working on this week (52/2022)?
Working through the rustlings exercises
-
How to learn Rust (for backend) ?
The book is great and was my original introduction to the language, but rustlings or Rust By Example might be more interesting for an interactive (and more self paced) approach.
-
Learning rust
Rustlings: This is a great resource for getting started with Rust, with small exercises to help you get comfortable reading and writing code.
rust-analyzer
- Show r/rust: Wrote a toy type inferencer by implementing Hindley-Milner algorithm
-
rust-analyzer changelog #164
You are correct actually, there was a bug that made us not accept the old configs in most cases, https://github.com/rust-lang/rust-analyzer/pull/13980. The next release should accept them again.
-
New plugin to support LSP file operations
Please write in the comments if you know of any language servers I should test it with. Currently I tested only metals and rust-analyzer.
-
Lichess gets a big upgrade. It doesn't go as planned
Most editors (or plugins for them) that support a LSP, like rust analyzer[0], can do it. This includes afaik (neo)vim (via coc.nvim), vscode (via rust-analyzer extension), emacs and Clion.
-
What Every Rust Developer Should Know About Macro Support in IDEs
fwiw, rust-analyzer cannot make use of this env var signaling a proc-macro that it is being expanded for completions currently (and is unlikely to be able to in the future) due to architecture reasons, https://github.com/rust-lang/rust-analyzer/issues/13731
-
Rust-analyzer alternative that works on unsaved files for quick experiments?
That last bit of plumbing probably isnβt done yet, but https://github.com/rust-lang/rust-analyzer/pull/8955 would be the right base for that.
-
Help: Using rust-analyzer on Linux crashes my computer!
They announced about three weeks ago that rust-analyzer on OpenVSX is now published properly. (This was the bug for it.)
-
RFC: new logo for rust-analyzer
Hiya, that was my doing :) I added a media query so that rust. is white in dark mode and black in light mode. This way, rust. is visible in the README regardless of theme. I assume that your browser is displaying the SVG with a white background even in dark mode, which of course makes rust. disappear.
In the VS Code extension and on the website (https://rust-analyzer.github.io/), at least.
Not related. We just got https://github.com/rust-lang/rust-analyzer/pull/13588/ and thought a wider discussion might be beneficial.
What are some alternatives?
vscode-rust - Rust extension for Visual Studio Code
rust-koans - Koans for the Rust programming language
rust-by-example - Learn Rust with examples (Live code editor included)
intellij-rust - Rust plugin for the IntelliJ Platform
rustfmt - Format Rust code
coc-rust-analyzer - rust-analyzer extension for coc.nvim
eglot - A client for Language Server Protocol servers
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
book - The Rust Programming Language
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
sublime-rust - The official Sublime Text 3 package for the Rust Programming Language
typescript-language-server - TypeScript & JavaScript Language Server