async-trait
rust-quiz
async-trait | rust-quiz | |
---|---|---|
7 | 11 | |
1,697 | 1,580 | |
- | - | |
8.2 | 6.2 | |
14 days ago | 21 days ago | |
Rust | Rust | |
Apache License 2.0 | Creative Commons Attribution Share Alike 4.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.
async-trait
-
Introduction to Rust generics [1/2]: Traits
As of today, async functions in traits are not natively supported by Rust. Fortunately, David Tolnay got our back covered (one more time): we can use the async-trait crate.
- How to assign async fn to type?
-
Understanding lifetimes for real?
You might want to check out https://github.com/dtolnay/async-trait to be able to declare async functions in a trait.
-
David Tolnay - thank you
Also async-trait (GitHub), dtolnay has done some great work!
-
What are your favorite tricks or hacks in rust?
Does async-trait count as a trick or hack? It's not my hack, but it's a workaround/hack that I use every single day.
-
Why asynchronous Rust doesn't work
This macro goes a very long way toward solving the problem: https://github.com/dtolnay/async-trait
-
Question about traits, associated types, Future, Pin, and Send...
I'm still learning async to I cannot answer all the questions. First of all, I use this -> https://github.com/dtolnay/async-trait to take care of the async-inside-traits mess.
rust-quiz
-
So you think you know C?
If you didn't like these because they're "trick" questions you likely also would not enjoy CppQuiz (https://cppquiz.org/)
However you might well enjoy https://dtolnay.github.io/rust-quiz/
Like the C++ quiz, "Undefined Behaviour" is a valid answer, however, the quiz questions are about safe Rust, so that answer is always wrong.
I still get more than half of them wrong unless given far too long to think about it.
-
Introducing the "Rust Interview Handbook" - Your Go-To Resource for Rust Interview Success! 💪
Cool, but I feel like the current questions are super basic. Something you're able to answer after reading the book and toying with Rust on a weekend. Definitely needs some harder questions, maybe feel inspired by https://dtolnay.github.io/rust-quiz/?
-
The Usability of Advanced Type Systems: Rust as a Case Study
> If we accept that Rust is indeed more difficult to learn than comparable systems programming languages
My problem is with "comparable systems programming languages". To me the only thing that fits there today is C++ and while a great many programming languages would be easier to learn than Rust, C++ is not one of them by a long shot.
I think the C++ Quiz https://cppquiz.org/ and the Rust Quiz https://dtolnay.github.io/rust-quiz/ illustrate handily. Neither of these languages is a walk in the park, but, notice they both have "Undefined behaviour" as a possible answer? Safe Rust doesn't actually have undefined behaviour, so you get to rule out one of the possibilities any time you don't see the "unsafe" keyword, which is in fact every time on the Rust Quiz. In C++ some of the quiz questions invoke UB, but good luck correctly guessing which ones.
-
Examples of old (ca. 1.0.0+) Rust code that still compiles?
Do you actually want to question all you know about Rust? Do this amazing quiz by the famed dtolnay.
-
[Media] Is the LinkedIn Rust quiz OK 🤨
If you want a correct and much harder Rust quiz, here you go.
-
Anything C can do Rust can do Better
⭐ Rust Quiz - David Tolnay
-
Carefully exploring Rust as a Python developer
One surprise perhaps is that both Python and C++ have multiple inheritance whereas Rust doesn't have implementation inheritance at all (Rust's traits can inherit but data structures and implementations cannot).
Both C++ and Rust have similar Quiz sites:
https://dtolnay.github.io/rust-quiz/
-
An interviewee has "(interest) Rust" in his resume, which question should I ask him ?
Obligatory: https://dtolnay.github.io/rust-quiz/
-
Rust (Programming Language) is now a skill that LinkedIn assesses
There is also this quiz
- Rust Quiz
What are some alternatives?
monadless - Syntactic sugar for monad composition in Scala
linkedin-skill-assessments-quizzes - Full reference of LinkedIn answers 2023 for skill assessments (aws-lambda, rest-api, javascript, react, git, html, jquery, mongodb, java, Go, python, machine-learning, power-point) linkedin excel test lösungen, linkedin machine learning test LinkedIn test questions and answers
ureq - A simple, safe HTTP client
cargo-llvm-lines - Count lines of LLVM IR per generic function
reqwest - An easy and powerful Rust HTTP Client
db-dump - Library for scripting analyses against crates.io's database dumps
serde-yaml - Strongly typed YAML library for Rust
rust-sokoban - Rust Sokoban book and code samples
toml-rs - A TOML encoding/decoding library for Rust
semver-trick - How to avoid complicated coordinated upgrades
python-rust-ffi - Horrible examples of using cffi to call Rust functions from Python