tour_of_rust
tour_of_rust copied to clipboard
Suggestion for new chapters: async, closures, multithread
I feel like this is a good idea! I could see there being two chapters:
- explaining closures and showing their use in multithreaded programming and maybe a breif commentary on mutexes
- a chapter fully on async and executors
Just saying, I'm waiting on this one to arrive to take the tour :)
Bit off-topic. There was a recent blog post that got awesome feedback for its crystal clear and succinct explanation of Rust's module system. Maybe Tour of Rust can borrow its approach to explain that?
https://www.reddit.com/r/rust/comments/htzkq7/clear_explanation_of_rusts_module_system/
I was thinking about this this morning, I think async/await could be explained in a chapter. I'm going to think it over this weekend. All the parts seem here:
- rust playground has
tokiosupport for an executor - it doesnt require explaining multithreading issues
- it's conceptually similar to javascript, so nothing too advanced