noboilerplate
nrf-hal
noboilerplate | nrf-hal | |
---|---|---|
13 | 5 | |
3,024 | 472 | |
- | 1.9% | |
8.4 | 8.4 | |
3 days ago | 10 days ago | |
HTML | Rust | |
Creative Commons Zero v1.0 Universal | 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.
noboilerplate
- Serving Astro with Rust
-
Rust newcomers are 70x less likely to create vulnerabilities than C++ newcomers [pdf]
NoBoilerplate [1] is a great Rust-oriented YouTube channel that's less tutorial and more of a tour of the strengths and foibles of the language. The videos are a great springboard, because they are entertaining as much as informative and inject a bit of hype and hope for when you're battling the compiler.
[1] https://www.youtube.com/c/NoBoilerplate
- The Unreasonable Effectiveness of Plain Text [video]
-
Hack your brain with Obsidian.md
My obsidian source code is here: https://github.com/0atman/noboilerplate/
-
Oxidise your Infrastructure using Shuttle.rs
All my videos are built in compile-checked markdown, transcript sourcecode available here https://github.com/0atman/noboilerplate
-
Rust Data Modelling WITHOUT OOP
I make videos for folks like you! And if you want to read, well my markdown is here https://github.com/0atman/noboilerplate/blob/main/scripts/24-rust-data-modelling.md
-
Week 3 of learning rust - learning resources
YouTubers I found very helpful: - https://www.youtube.com/c/LetsGetRusty - https://www.youtube.com/@codetothemoon - https://www.youtube.com/watch?v=ygL_xcavzQ4&t=1020s&ab_channel=DerekBanas - https://www.youtube.com/c/NoBoilerplate
-
Rust on Rails (write code that never crashes)
I pull out all the rust examples into main.rs with literate, and the same with the Cargo.toml. My makefile is here https://github.com/0atman/noboilerplate
-
Let’s get Rusty 500$ bootcamp
Video tutorials: Jon Gjengset and Let's Get Rusty and No Boilerplate (u/0atman)
-
I now support comments
My friend Tris has mentioned many times how positive his experience has been of the comments on his wildly popular Rust videos on YouTube.
nrf-hal
-
Rust newcomers are 70x less likely to create vulnerabilities than C++ newcomers [pdf]
You should try again. I think that code is verbose because of the borrowing and because you're trying to do a one-liner. I use the nrf-hal library with the nrf52840, and the code reads pretty nicely. Here's an example:
https://github.com/nrf-rs/nrf-hal/blob/master/examples/blink...
-
Any good examples of using embedded Rust with an existing embedded C codebase?
Reading nrf-hal source, unfortunately new does re-configure the UARTE, and there is not a new_unchecked. The solution I can think of is to duplicate the write code with nrf52833_hal::pac::UARTE0. The Uarte type does not contain any metadata, it exists purely to guard the init of UARTE.
- Rust on the MOS 6502: Beyond Fibonacci
-
First steps with Embedded Rust: Selecting a board
Really good. Check out the examples in the nrf-hal repo. Also, if you don't mind forking out for some extra components the Knurling sessions by Ferrous Systems are ace.
-
I rewrote my Rust keyboard firmware in Zig: consistency, mastery, and fun
The embedded HAL crates do this with extensive use of macros, for example: https://github.com/nrf-rs/nrf-hal/blob/aae17943efc24baffe30b...
This solution makes sense given the constraints of Rust, but there's quite a cost in terms of compiler time and cognitive overhead to understand what is going on.
(Aside: I didn't use the HAL in my Rust firmware, that's a higher layer of abstraction; I only used the PAC crates.)
What are some alternatives?
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
embassy - Modern embedded framework, using Rust and async.
You-Dont-Know-JS - A book series on JavaScript. @YDKJS on twitter.
ziglings - Learn the Zig programming language by fixing tiny broken programs.
Computer-Vision-Video-Lectures - A curated list of free, high-quality, university-level courses with video lectures related to the field of Computer Vision.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
awesome-linuxaudio - [mirror] A list of software and resources for professional audio/video/live events production on Linux.
zephyr - Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
neovim - Vim-fork focused on extensibility and usability
nrf-softdevice
vim-medieval - Evaluate Markdown code blocks within Vim
drogue-device - A distribution of tools and examples for building embedded IoT applications in Rust