book
nomicon
book | nomicon | |
---|---|---|
635 | 88 | |
14,871 | 1,791 | |
1.3% | 1.9% | |
9.3 | 5.5 | |
16 days ago | 25 days ago | |
Rust | CSS | |
GNU General Public License v3.0 or later | 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.
book
-
Building a Single-Threaded Web Server | Rust Programming
Welcome to Building a Single-Threaded Web Server. This lab is a part of the Rust Book. You can practice your Rust skills in LabEx.
-
Why I Prefer RST to Markdown
The link below (https://github.com/rust-lang/book/tree/main/tools) could imply the book was written as Word .docx with named styles, which enabled transformation into markdown for the mdBook?
-
Rust for Rustaceans
agreed, and the book is pretty upfront about it being for more intermediate readers. i felt like i hit the sweet spot for this book after having gone through the rust programming language [0], zero to production in rust [1], and having worked on a few larger rust projects. all three books are really good in their own way.
[0] https://doc.rust-lang.org/book/
-
Up(sun) and running with Rust: The game-changer in systems programming
Explore "The Rust Programming Language" official book
-
Rust Core Concepts List
The Rust Programming Language Book: https://doc.rust-lang.org/book/
-
How to Write Tests
Welcome to How to Write Tests. This lab is a part of the Rust Book. You can practice your Rust skills in LabEx.
-
How does Rust go “from” here “into” there
The Rust book
- Rust Book maintainer ignore user request to fix installation guide
-
Learning Rust: A clean start
My first port of call was to google learn rust which lead me to "the book". The book is a first steps guide written by the rust community for newbies (or Rustlings as they're called) to gain a 'solid grasp of the language'.
-
Prodzilla: From Zero to Prod with Rust and Shuttle
Before Prodzilla, I’d read 'The Book' a couple of times, and had made my way through Rustlings, but hadn’t yet built a serious project in Rust.
nomicon
-
Rust Vs. Other Programming Languages: What Sets Rust Apart?
Rustonomicon
-
[Media] I'm comparing writing a double-linked list in C++ vs with Rust. The Rust implementation looks substantially more complex. Is this a bad example? (URL in the caption)
it’s even written by the same person that wrote the Nomicon (the guide to the dark arts of unsafe)
-
Rust books to read
If you want to dive deeper you can always have other options but now there are concrete cases, if you want to do low level thing https://doc.rust-lang.org/nomicon/ while if you want multi thread/concurrency stuff https://marabos.nl/atomics/ . There are many many books so you will have to point yourself to what you want
-
Thread-shared boolean flag
Nonononono. SeqCst is the most error prone memory order: https://github.com/rust-lang/nomicon/issues/166
-
[Media] Hashmap behaviour inside a loop due to lifetime issue
Hope this helps. For more details, see the Rustonomicon. I referenced the subtyping chapter here extensively.
-
Unsafe Rust
Nice video! Glad I could help out. This stuff is hard, and I'm still learning a lot about it myself even years later. The Rustonomicon is a great read if you haven't already.
-
Stepping up the YAML engineer game
Have you got a moment to read through the good book , after reading through this perhaps try the Rustonomicon.
- Questions about ownership rule
-
CppCon 2022 Best Practices Every C++ Programmer Needs to Follow – Oz Syed
That is not what UB means. Undefined Behaviour is behaviour that the compiler is allowed to assume will never happen, and which can consequently cause miscompilations due to optimisation passes gone wrong if it does in fact occur in the source code.
It's true that Rust does not have a written specification that clearly delineates what is and isn't UB in a single place. But:
1. UB is impossible in safe code (modulo bugs in unsafe code)
2. There are resources such as the Rustinomicon (https://doc.rust-lang.org/nomicon/) that provide a detailed guide on what is and isn't allowed in unsafe code.
In practice, it's much easier to avoid UB in Rust than it is in C++.
-
How to write deserializer for custom binary protocol?
However, this is a wide topic out of scope for a Reddit comment, so maybe just read the Rustonomicon. It explains everything about data handling in Rust.
What are some alternatives?
rust-by-example - Learn Rust with examples (Live code editor included)
mdBook - Create book from markdown files. Like Gitbook but implemented in Rust
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
rust-ffmpeg - Safe FFmpeg wrapper.
solana-program-library - A collection of Solana programs maintained by Solana Labs
Exercism - website - The codebase for Exercism's website.
github-cheat-sheet - A list of cool features of Git and GitHub.
Theseus - Theseus is a modern OS written from scratch in Rust that explores 𝐢𝐧𝐭𝐫𝐚𝐥𝐢𝐧𝐠𝐮𝐚𝐥 𝐝𝐞𝐬𝐢𝐠𝐧: closing the semantic gap between compiler and hardware by maximally leveraging the power of language safety and affine types. Theseus aims to shift OS responsibilities like resource management into the compiler.
rust - Empowering everyone to build reliable and efficient software.
seL4 - The seL4 microkernel
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
miri - An interpreter for Rust's mid-level intermediate representation