Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion for new chapters: async, closures, multithread #220

Open
mgemard opened this issue Jul 15, 2020 · 4 comments
Open

Suggestion for new chapters: async, closures, multithread #220

mgemard opened this issue Jul 15, 2020 · 4 comments

Comments

@mgemard
Copy link
Contributor

mgemard commented Jul 15, 2020

from reddit feedback

What do you think?

@richardanaya
Copy link
Owner

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

@oblitum
Copy link

oblitum commented Jul 21, 2020

Just saying, I'm waiting on this one to arrive to take the tour :)

@oblitum
Copy link

oblitum commented Jul 21, 2020

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/

@richardanaya
Copy link
Owner

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 tokio support for an executor
  • it doesnt require explaining multithreading issues
  • it's conceptually similar to javascript, so nothing too advanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants