17 ms·
Just an idea: I wish there was an official wiki in the lines of Arch Wiki that shows how to do things with Rust with lots and lots of examples. True there is t
by reacharavindh 9y ago
Just an idea: I wish there was an official wiki in the lines of Arch Wiki that shows how to do things with Rust with lots and lots of examples.
True there is the Rust Programming Language v2 book and several other learning resources online, but they all carry redundant information and pass it on the user to discover what they want to learn. A legendary wiki which acts like a cookbook of all things Rust could be awesome and anyone can pick what they want to learn about and go at it.
I would happily contribute and do it, but I'm just starting to learn Rust. Perhaps it is easier for other experienced Rustaceans to do it right.
- chillydawg 9y agohttps://rustbyexample.com/ https://rustbyexample.com/
- reacharavindh 9y agoThanks for the link. I thought it was a small effort to show around the language features. Like a live(runnable code) version of the Rust programming language book. Very useful for someone trying learn the language feature by feature. What I'm writing about is a how-to style wiki. For example, How to do things with Rust: How to read from stdin? How to read and write from a text file? How to make a REST API call from Rust? How to parse JSON content in Rust? How to connect to PostgreSQL in Rust? How to issue Unix commands to a remote host via SSH using Rust? How to create threads for parallel work in Rust? You get the idea..
- baq 9y agoIMHO stack overflow was meant to be exactly this.
- bjz_ 9y agoThe Rust Cookbook has made a start on this too! https://rust-lang-nursery.github.io/rust-cookbook/ https://rust-lang-nursery.github.io/rust-cookbook/
- reacharavindh 9y agoThanks for posting the link. Precisely what I was talking about! They are very useful to play around with the language ecosystem. If I learn something new, I'll try to add to their repo.
- deleted 9y ago[deleted]
- gus_massa 9y agoPerhaps this is not exactly what you are looking for, and I don't know if the examples are idiomatic, but you can check http://rosettacode.org/wiki/Category:Rust http://rosettacode.org/wiki/Category:Rust (follow the links in the section 'Pages in category "Rust"', there are almost 400 examples)