Skip to content

Add exercise async2#2383

Open
senekor wants to merge 2 commits intorust-lang:mainfrom
senekor:senekor/wswzuyoxorzk
Open

Add exercise async2#2383
senekor wants to merge 2 commits intorust-lang:mainfrom
senekor:senekor/wswzuyoxorzk

Conversation

@senekor
Copy link
Copy Markdown
Contributor

@senekor senekor commented Apr 18, 2026

The lesson of this exercise is that blocking primitives from the standard library are often unsuitable for asynchronous programming. The runtime usually provides async-compatible replacements.

senekor added 2 commits April 18, 2026 23:31
The goal here was to get the first bit of "muscle memory" for using the
async and await keywords. The little story should make it more intuitive
for users why asynchronous programming is needed in the first place.

This exercise will be moved to the location corresponding to the book in
a later commit, to keep the diff of this one clean.
@senekor senekor force-pushed the senekor/wswzuyoxorzk branch from dc08960 to 09cd4bd Compare April 18, 2026 22:32
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

Successfully merging this pull request may close these issues.

1 participant