|
|
|
|
|
by mwigdahl
766 days ago
|
|
Thanks for that article! One line jumped out at me: "When I learned about async programming, I realized that for my CLI-based project, I didn’t really need async. So, I removed all async code and the Tokio runtime, which significantly simplified the code." This implies that you used async before learning it. Does async come along for the ride with "standard" constructs in Rust, such that you have to make an active effort to avoid it? Forgive my ignorance about Rust if this is a dumb question. |
|
My reading is that, since their technique was to learn something and then immediately apply it to their project, they began making it async before they realized it was better of without it. Seems like a good learning experience to me, I think this approach is good.