News for hackers. Stuff that matters.
Re:Rust from 0 to 80% for JavaScript Developers by Cyph0n on Sunday May 01, 2022 @01:24AM (#31222427)
I’m not sure what “gnarly” things you tried to implement, but for anyone else in a similar situation, a good starter usecase for Rust is writing a command line utility.

Crates to check out:

- clap for command and argument parsing

- anyhow for “easy” error handling

- log + env_logger for logging

- reqwest for HTTP requests (start off by using the blocking client)

- serde + serde_json for handling JSON

- rayon to “magically” parallelize your code (using multiple threads)

There are no comments on this comment yet.