std-training
rust-analyzer
std-training | rust-analyzer | |
---|---|---|
11 | 133 | |
553 | 13,611 | |
3.4% | 1.0% | |
7.5 | 10.0 | |
about 1 month ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | 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.
std-training
-
ESP32 Standard Library Embedded Rust: GPIO Interrupts
It's well established that interrupts are a tough concept to grasp for the embedded beginner. Add to that when doing it in Rust the complexity of dealing with mutable static variables. This is because working with shared variables and interrupts is inherently unsafe if proper measures are not taken. When looking at how to do interrupts using the esp-idf-hal I first resorted to the Embedded Rust on Espressif book. Interrupts are covered under the Advanced Workshop in section 4.3, and to be honest, I was taken aback a little at what could be an additional level of complexity for a beginner. Without too much detail, this is because the book resorts to using lower-level implementations. For those interested, by that, I mean FFI interfaces to FreeRTOS which I will be creating a separate post about later.
- The Nano ESP32
-
ESP32 Standard Library Embedded Rust: GPIO Control
Relative to the esp-idf-hal , as far as material goes, there exists training material that is open sourced by Ferrous systems. The training material takes a bit of a different approach where it starts with high-level IoT exercises followed by low-level control. Additionally, the training is based on the awesome Rust ESP board hardware.
-
Espressif advances with Rust – 30-06-2023
Yes! The training developed with Ferrous Systems (https://esp-rs.github.io/std-training/) contains several examples, and you can find many community projects in https://github.com/esp-rs/awesome-esp-rust#projects
-
Unlocking Possibilities: 4 Reasons Why ESP32 and Rust Make a Winning Combination
Good places to get started with std Rust on ESP include the Rust on ESP book, Embedded Rust on Espressif by Ferrous Systems. There's also the Awesome ESP Rust GitHub repository that contains a lot of useful material and project examples.
-
Embedded Rust on ESP32C3 Board, a Hands-on Quickstart Guide
Embedded Rust on Espressif (Ferrous Systems training)
- Some experience with IoT
-
Why do I constantly feel like I'm doing something wrong by continuing using C++?
I must admit I've never used it for anything but tutorials yet (kids resulted in a lot of personal projects shelved), but Rust has an amazing and rapidly developing embedded ecosystem. A good starting point to get an impression of it might be training materials from Ferrous Systems 1, 2 (feel free to pay for the training itself if you feel like it's worth it for you of course). There is an embedded working group for Rust, Knurling project to improve tooling and even an attempt of Rust standard certified for safety-critical application.
- noob question, Whats the point of interfacing arduino uno and ESP32?
-
Ask HN: Has any Rust developer moved to embedded device programming?
I’ve been super curious about both Rust and ESP. It seems like Espressif is interested enough to commission a Rust dev board (ESP32-C3-DevKit-RUST-1) and training using it.
https://github.com/esp-rs/esp-rust-board/
https://github.com/ferrous-systems/espressif-trainings
rust-analyzer
-
Cranelift code generation comes to Rust
go build 3.62s user 0.76s system 171% cpu 2.545 total
I was looking forward to parallel front-end[4], but I have not seen any improvement for these small changes.
[1]: https://github.com/rust-lang/rust-analyzer
-
A guide on Neovim's LSP client
For example, intelephense can show diagnostics in real time, there is no need to save the file to get new diagnostics. But rust-analyzer, the language server for rust, can only update diagnostics after saving the file.
-
Top 10 Rusty Repositories for you to start your Open Source Journey
6. Rust Analyzer
-
The rust-analyzer vscode extension is not working at all.
The rust-analyzer readme suggests you go here for support request. But even there, you'll need to provide more details to get useful help.
-
LSP could have been better
For example: https://github.com/rust-lang/rust-analyzer/blob/master/docs/...
> If you create an LSP, it will work best in VS Code.
Any editor can work just as well as (or even better than) VS Code.
-
Discussion Thread
So, apparently the reason why rust-analyzer, the LSP server for Rust does not have persistent caching is because it would make "optimizing initial passes less important".
- The AI Content Flippening
-
Introducing RustRover – A Standalone Rust IDE by JetBrains
All I want to know is: Will it have a build configuration pulldown?
-
Mastering Emacs: What's new in Emacs 29.1
I am not a Rust dev. It surely looks great.
However, from what I understand it seems to supply just a parser separate from the Rust compiler (https://github.com/rust-lang/rust-analyzer/tree/master/crate...) trying to keep up with Rust‘s development. So, in principle, it could have been just another treesitter parser plugin, too.
So, again, the LSP framework does not directly provide any magical benefit over a static parsing framework. All the semantic analysis capabilities stem from a good parser.
-
helix shows rust "language server exited"
rust-analyzer > manual > helix > binary > rustup component add rust-analyzer
What are some alternatives?
solo2 - Solo 2 firmware in Rust
vscode-rust - Rust extension for Visual Studio Code
esp-rust-board - Open Hardware with ESP32-C3 compatible with Feather specification designed in KiCad
intellij-rust - Rust plugin for the IntelliJ Platform
rp2040-mandel-pico - A small Mandelbrot demonstrator for the LILYGO T-Display RT2040 written in Rust
rustfmt - Format Rust code
espflash - Serial flasher utility for Espressif SoCs and modules based on esptool.py
sublime-rust - The official Sublime Text 4 package for the Rust Programming Language
wokwi-features - Wokwi Feature requests & Bug Reports
coc-rust-analyzer - rust-analyzer extension for coc.nvim
awesome-esp-rust - Curated list of resources for ESP32 development in the Rust programming language
eglot - A client for Language Server Protocol servers