api-guidelines
Rustlings
api-guidelines | Rustlings | |
---|---|---|
32 | 289 | |
1,203 | 49,342 | |
0.6% | 2.0% | |
3.3 | 9.5 | |
about 2 months ago | 5 days ago | |
Rust | ||
Apache License 2.0 | MIT License |
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.
api-guidelines
- Best practices for designing traits in public crates?
-
Functional Options Pattern in Go and Rust
Just wanting to let this here for some further input: - https://rust-lang.github.io/api-guidelines/ - https://rust-unofficial.github.io/patterns/ - https://deterministic.space/elegant-apis-in-rust.html
-
Hey Rustaceans! Got a question? Ask here (15/2023)!
The API guidelines will help you write nice APIs. Clippy will usually at least find some things, try running with -Wclippy::pedantic for a lot more messages. Also you can ask mentors for specific guidance. Hope that helps.
-
Naming traits
There has been some previous discussion on this here: https://github.com/rust-lang/api-guidelines/discussions/28
-
What is the proper guidance on using generics as parameters for an API
I'm currently writing an API and using the API guidelines book. On the Flexibility page, there's a section on using generics as function parameters to minimize assumptions. The issue that I'm having is that the only example it gives is std::fs::File::open. Specifically, I want to know what is the "standard" way to use generics as parameters?
-
Prefixes in name and Reexports
I search up in the rust-api-guideline, but no luck finding something like this. There used to be an Organization according to this thread, but upon digging the repo commits, it was deleted by this commit. "We can reintroduce this section if we come up with a way to give firmer advice here."
-
What are some good practices when writing rust?
public api of a library should follow Rust API Guidelines.
-
astro-float 0.6.6 arbitrary precision floating point library update
API was made compliant with Rust API Guidelines.
-
Picking Up Rust Before C With My Goals In Mind?
Finally, there's also the Little Book of Rust Books where you could look for tutorial materials or things like like Rust Design Patterns, Rust API Guidelines, and The Rust Performance Book. (See also rust-learning)
-
Learning rust
Rust API Guidelines: If you're planning on building libraries or APIs in Rust, these guidelines provide recommendations for designing and presenting APIs in the language. They're written by the Rust library team, based on their experience building the Rust standard library and other crates in the ecosystem.
Rustlings
-
GPUI 2 is now in production ā Zed
Zed is great, have been using it to do the Rustlings exercises and learn Rust:
https://github.com/rust-lang/rustlings
If you've been looking for an excuse to learn Rust, check it out.
- I'm looking for practical Rust exercises
-
Avoid nested matches
Doing the rustlings conversions/from_into task which asks
-
Rustlings is the greatest thing ever
However, I stumbled across Tauri (as a replacement for Electron), and installed Rust just to get Tauri to work. A few days later, I installed Rustlings (https://github.com/rust-lang/rustlings) on a whim, and did the first exercise.
- CodeCrafters CEO adds his paid service as a next step after finishing Rustlings
-
Learning Zig
Rust also has something similar which is where I believe Zig drew inspiration from as well: https://github.com/rust-lang/rustlings
-
Bevy XPBD: A physics engine for the Bevy game engine
Rustlings gives a great introduction to the language:
https://github.com/rust-lang/rustlings
Disclaimer: I write JavaScript
- Learning Rust Recommendations?
-
Hi Iām a total newbie to programming but wants to learn rust as a first language.
Consider solving puzzles and exercises from rustlings and / or try the Rust track at exercism which I found very valuable.
-
Reached a new benchmark today, completed 1000 problems
Rustlings(for learning by doing): https://github.com/rust-lang/rustlings
What are some alternatives?
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
rust-koans - Koans for the Rust programming language
patterns - A catalogue of Rust design patterns, anti-patterns and idioms
rust-by-example - Learn Rust with examples (Live code editor included)
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
idiomatic-rust - š¦ A peer-reviewed collection of articles/talks/repos which teach concise, idiomatic Rust.
book - The Rust Programming Language
rust - Empowering everyone to build reliable and efficient software.
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
gdnative - Rust bindings for Godot 3
rust-by-practice - Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.