rust-quiz
proc-macro-workshop
rust-quiz | proc-macro-workshop | |
---|---|---|
11 | 26 | |
1,587 | 3,836 | |
- | - | |
6.2 | 4.3 | |
27 days ago | 27 days ago | |
Rust | Rust | |
Creative Commons Attribution Share Alike 4.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.
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
proc-macro-workshop
-
Why does the core not provide a "New" derive attribute?
Tangentially, the proc macro workshop walks through building a derive macro implementing a builder pattern. From experience, I can tell I couldn't ever write proc macros just by reading the manual, going through it is really helpful https://github.com/dtolnay/proc-macro-workshop/blob/master/README.md
-
Help on spans for proc macros
I am working on the proc macro workshop and am a little stuck on the builder portion of the workshop. Step 08-unrecognized-attributes wants you to handle the car where the field modifier has a misspelled portion (eac instead of each)
-
Practical Procedural Macros in Rust
I would very much second the suggestion to do David Tolnay’s Proc Macro Workshop if you want to start understanding how to write them. I’d been writing Rust for years but always kind of avoided proc macros.
When I had a need for them, I went through only the first section of the workshop and everything clicked. You can just do the derive macro section and all the strange and scary-looking macro syntax will make sense. I realized that there is only a bit of extra syntax but it’s used very often so it can seem a little overwhelming when reading macro code.
https://github.com/dtolnay/proc-macro-workshop
- Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022
-
A walkthough on how to write derive procedural macros
Another good one imo is the proc-macro-workshop.
-
Transitioning to Rust as a company
Don't be afraid of proc macros and derive macros, they rule. Study the basic examples. Crates like darling and resources like David Tolnay's workshop will help. Write derives for your simpler traits and impress your colleagues.
-
What are your experiences with hack-and-learn events?
Regarding 4, I think that macros are an interesting intermediate/advanced topic. I personally loved the material from https://github.com/dtolnay/proc-macro-workshop
-
Procedural Macros are really hard to understand
It took me a while to get anything done. My mistake : I came accross the procedural macros workshop several times, and every time I dismissed it, thinking - meh I'll just hack together exactly what I need and move on. Then finally I figured there is no way around it. The builder exercise sounds boring but it covers the topic pretty well. And then I went on to the debug one and from there was able to build the proc macro I wanted.
-
MacroKata is really good!
Hey! While researching, I found this: https://github.com/dtolnay/proc-macro-workshop
-
Anything C can do Rust can do Better
Rust Latam: procedural macros workshop - David Tolnay
What are some alternatives?
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
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
cargo-llvm-lines - Count lines of LLVM IR per generic function
cargo-expand - Subcommand to show result of macro expansion
db-dump - Library for scripting analyses against crates.io's database dumps
rust-learnings - Collection of Rust learnings through implementation
async-trait - Type erasure for async trait methods
style - css for rust
rust-sokoban - Rust Sokoban book and code samples
quote - Rust quasi-quoting
semver-trick - How to avoid complicated coordinated upgrades
style - Style Dart Backend Framework