HandsOnRust VS command-line-rust

Compare HandsOnRust vs command-line-rust and see what are their differences.

HandsOnRust

The source code that accompanies Hands-on Rust: Effective Learning through 2D Game Development and Play by Herbert Wolverson (by thebracket)

command-line-rust

Code for Command-Line Rust (O'Reilly, 2022, ISBN 9781098109417) https://learning.oreilly.com/library/view/command-line-rust/9781098109424/ (by kyclark)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
HandsOnRust command-line-rust
19 38
384 1,297
- -
0.0 7.0
9 months ago 4 days ago
Rust Rust
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

HandsOnRust

Posts with mentions or reviews of HandsOnRust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-30.
  • ECS, Finally
    4 projects | news.ycombinator.com | 30 Dec 2023
    I'm working my way through the HandsOnRust book that guides you through creating a simple roguelike using Rust and Legion ECS. It's a really enjoyable experience so far, and I'm looking towards trying out Bevy ECS afterwards to compare the two.

    https://github.com/thebracket/HandsOnRust

  • Disappointing experience with 'Command-Line Rust': Seeking more comprehensive Rust resources
    5 projects | /r/rust | 8 Apr 2023
    But if you really want to follow more things then hands on rust and zero to production are two good quality books for learning rust through game dev and web development respectively. But I would still urge you to try a few things by yourself first.
  • Learning Rust with “Hands On Rust”
    1 project | /r/rust | 20 May 2022
    Started learning rust a while ago but I needed something to walk me through the features while building something useful. I discovered Hands On Rust and have learned more in 3 hours of building flappy bird clones than in two weeks of experimenting with tutorials.
  • I'm a beginner and write Go code. Is there anything similar to 'Let's Go' for Rust?
    3 projects | /r/rust | 4 May 2022
    There is Zero To Production In Rust which goes through building a webserver in rust from the ground up. Or Hands on rust for learning rust by building a game.
  • Any good books for studying rust?
    3 projects | /r/rust | 23 Mar 2022
    Some (optionally) in print: * Rust in Action * Programming Rust * Hands-On Rust * Rust for Rustaceans
  • Give advice to a code illiterate to start learning
    1 project | /r/rust_gamedev | 19 Feb 2022
    Game development though might be a harder place to start. You may find other more basic areas easier to get going. Though there is a good book on learning rust with game dev Hands on Rust that you might find enough.
  • The Rust Programming Book is not good for Beginners?
    2 projects | /r/rust | 5 Feb 2022
    Other books/resources you might find helpful - Rust by example - a good compliment to The Book that shows concepts with examples. Though does not explain things as much. - Zero To Production In Rust - a look at webservers and taking them to production (still being written though) - Hands on rust - a look at introducing rust with gamedev. - Easy rust - Many more listed here
  • Trying to decide a roadmap for becoming a Rust developer. / Good beginner projects to try?
    1 project | /r/rust | 24 Jan 2022
  • Question about bracket-lib and how fonts and images are loaded
    1 project | /r/rust | 11 Jan 2022
    This is a beginner question. I'm following Hands-On Rust to build simple games. One thing that isn't clear to me so far is how `bracket-lib` actually load the fonts and image of different characters from a single PNG file. Is the PNG file segmented in certain pixel values so that `bracket-lib` could access each square of the image like an array? Does this mean that this PNG file must be always designed in specific ways? Thanks for helping!
  • Sharing Saturday #387
    1 project | /r/roguelikedev | 6 Nov 2021
    One year ago, I released the first beta for Hands-on Rust. What a wild and awesome ride it has been! The book has been on the publisher's best sellers list for 50 of the last 52 weeks, since the print edition came out it's been in Amazon's top 10-20 for "C Language" and sometimes "Game Development" most of the time. I had a "good grief, am I famous?" moment when a relative (who works for one of the huge American social media companies) sent me a pic showing Hands-on Rust sitting on his boss's desk.

command-line-rust

Posts with mentions or reviews of command-line-rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-04.
  • Best path to learn rust
    3 projects | /r/rust | 4 Jul 2023
    You absolutely must write programs, preferably using tests to ensure you are creating correct and reproducible code. May I suggest starting with my book, Command-Line Rust (O'Reilly, 2022). All the code/data/tests are in https://github.com/kyclark/command-line-rust Note that there are branches showing how to use the 4.x version of clap (command-line argument parser) rather than the 2.33 that was current when the book was published.
  • How to start learning a systems language
    7 projects | /r/rust | 17 May 2023
    I think the best way to start learning a programming language is to write lots of small programs that you probably already know. Rust is a perfect command-line language, so I think it makes sense to start by implementing simple programs like "head" and "grep." I also think one should always learn to write and run tests, so I present my GitHub repo of inputs and tests you might like to use to write 14 such standard Unix command-line utilities: https://github.com/kyclark/command-line-rust If you want guidance on the language, I wrote a book called Command-Line Rust (O'Reilly, 2022) that explains all this code. One caveat is that the "clap" (command-line argument parser) module was at 2.33 when I published but is now v4, so you should look at the appropriate branches for versions of the programs that use the "builder" and "derive" patterns for that module. Or just use any old command-line parser you like as there's no requirement to use "clap." Best of luck to you!
  • What is the best way to learn Rust from a complete beginner programmer?
    3 projects | /r/rust | 1 May 2023
    You must write programs in a language in order to learn it. I also firmly believe that learning how to write and run tests is critical to learning any language. I wrote Command-Line Rust (O'Reilly, 2022) for the beginner (in Rust, at least) and with a focus on writing and testing small programs from very simple "Hello, world!" and getting increasingly more complex. You can look at https://github.com/kyclark/command-line-rust for the code/inputs/tests. Best of luck!
  • Questions about moving from Bash to Rust
    2 projects | /r/learnprogramming | 23 Apr 2023
    Code for the above book
  • Stuck at 4.3 of the rust book. It's so hard for me.
    5 projects | /r/rust | 23 Apr 2023
    I'm the author of Command-Line Rust (O'Reilly, 2022), which I wrote to introduce the language slowly to beginners by writing and testing short, focused programs. You can look over the code/tests/data at https://github.com/kyclark/command-line-rust. Note that there are branches that show the same programs using a more recent version of the "clap" crate.
  • Disappointing experience with 'Command-Line Rust': Seeking more comprehensive Rust resources
    5 projects | /r/rust | 8 Apr 2023
  • How do i get started with rust as my first language. I need tips and useful advice from rustians thanks.
    2 projects | /r/rust | 7 Mar 2023
    I wrote Command-Line Rust (O'Reilly, 2022) to guide beginners in the language. You are challenged to write small functions and programs using tests to verify that everything is correct. You can look over the code and tests at https://github.com/kyclark/command-line-rust. Best of luck in your journey!
  • Learning rust by example
    2 projects | /r/rust | 5 Mar 2023
    Here are the example programs from my book, Command-Line Rust (O'Reilly, 2022), along with the input files and tests: https://github.com/kyclark/command-line-rust
  • How to Practice and Learn Rust for Production Level Code?
    4 projects | /r/rust | 20 Feb 2023
    I like to suggest that students write programs they already know (or at least understand). For instance, you probably understand that head shows the first few lines of a text file, and you probably can already implement some version of that in one or two languages you know. Try that in Rust. I wrote 14 BSD/GNU command-line utilities in Rust for learning purposes. I wouldn't consider these high-performance/production programs as they are tailored to learning the language. I also stress how to test programs, so there are tests and inputs you can use to verify your programs match the output of the original programs (or you can modify these to suit your own tastes for how you would like them to work). https://github.com/kyclark/command-line-rust
  • Error handling in a CLI app
    1 project | /r/learnrust | 20 Feb 2023
    Here are some more examples you may or may not find useful: https://github.com/kyclark/command-line-rust I tend to have a main() that calls a library's run() function that returns a Result and then exit with a nonzero code and error message on a failure.

What are some alternatives?

When comparing HandsOnRust and command-line-rust you can also consider the following projects:

book - The Rust Programming Language

argparse - Argument Parser for Modern C++

rustrogueliketutorial - Roguelike Tutorial in Rust - using RLTK

code - Source code for the book Rust in Action

RustBooks - List of Rust books

libtcod-vcpkg-template - A template for C++17 libtcod projects. This template uses Vcpkg to fetch dependencies.

pico-args - An ultra simple CLI arguments parser.

arewegameyet - The repository for https://arewegameyet.rs

nextest - A next-generation test runner for Rust.

libtcod-ada - An Ada binding for the libtcod rougelike library

pipe-rename - Rename your files using your favorite text editor