duct.rs
Rustlings
duct.rs | Rustlings | |
---|---|---|
4 | 290 | |
792 | 50,564 | |
- | 2.8% | |
4.6 | 9.4 | |
4 months ago | 3 days ago | |
Rust | Rust | |
MIT License | 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.
duct.rs
-
Is there an equivalent Rust crate?
There is also duct which is not so much geared towards writing an interpreter, but does provide simplified macros for running subprocesses.
- Hey Rustaceans! Got a question? Ask here (17/2023)!
-
Dynamically generating and using items using WASM
This doesn't address the generate-and-build step, but you can probably accomplish that by shelling out (perhaps with duct) to cargo build assuming your runtime environment has the necessary tools installed.
-
Hey Rustaceans! Got an easy question? Ask here (14/2021)!
As mentioned by /u/llogiq, std::process::Command will work if you mean shelling out to another binary, but I wanted to point out the crate duct which makes this kind of thing simpler to handle.
Rustlings
-
100 Exercises to Learn Rust
Surprised no one has mentioned another great and similar resource called Rustlings [0] (yes very punny name). You are given some files with todo statements which you'll need to fix and make the code compile and pass all the tests. It's an interactive way to learn which is what got me through learning Rust a few years ago.
[0] https://github.com/rust-lang/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.
What are some alternatives?
rustyline - Readline Implementation in Rust
rust-koans - Koans for the Rust programming language
rust-copperline - Pure-Rust Command Line Editing Library
rust-by-example - Learn Rust with examples (Live code editor included)
tonic - A native gRPC client & server implementation with async/await support.
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
book - The Rust Programming Language
tokio-uring - An io_uring backed runtime for Rust
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
hashira-templates - Starter templates for hashira
rust-by-practice - Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.