7 Commits

Author SHA1 Message Date
Remo Senekowitsch
343e21b3bd
run exercises with CWD set to their directory 2026-08-10 22:28:37 +02:00
Remo Senekowitsch
f63e11aeb6
move input files into exercise directory 2026-08-10 22:28:37 +02:00
Remo Senekowitsch
09aabdea65
async1: remove redundant TODO comment 2026-08-10 22:28:37 +02:00
Remo Senekowitsch
9e76c96ef8
async1: Read input from files 2026-08-10 22:28:37 +02:00
Remo Senekowitsch
1dd31a8fdd
Change story of exercise async1
- Remove confusing use of atomics. Use return values of async tasks
  instead, to ensure all tasks are awaited.
- Remove use of `println!()`, which uses a global lock and cannot be
  executed in parallel.
2026-08-10 22:28:37 +02:00
Remo Senekowitsch
d5599507b0
Refer to tokio as "mainstream" instead of "popular" 2026-08-10 22:28:37 +02:00
Remo Senekowitsch
b3e80316bb
Add exercise async1
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.
2026-08-10 22:28:37 +02:00