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

fix 较少 to 减少 #64

Merged
merged 1 commit into from
Nov 7, 2021
Merged

fix 较少 to 减少 #64

merged 1 commit into from
Nov 7, 2021

Conversation

miamia0
Copy link

@miamia0 miamia0 commented Sep 24, 2021

fix 较少 to 减少

fix 较少 to 减少
@miamia0 miamia0 changed the title Update 02_why_async.md fix 较少 to 减少 Sep 24, 2021
@huangjj27
Copy link
Owner

CI 有点问题没有触发构建,本地合并。

@huangjj27 huangjj27 merged commit fc9dbbd into huangjj27:zh-CN Nov 7, 2021
huangjj27 pushed a commit that referenced this pull request Jun 25, 2022
I wanted to write an example to help guide people new to asynchronous programming, with fewer external dependencies (as some people requested in #66). The example starts with the [single threaded TCP server from the Rust book](https://doc.rust-lang.org/book/ch20-01-single-threaded.html) and uses async functionality to add concurrency.
The example goes through:
- some examples of blocking code and how to make them non blocking (should address #64 as well)
- spawning tasks vs using combinators to run them concurrently on a single thread
- testing code by creating mocks and implementing async read/write traits for the mocks
huangjj27 pushed a commit that referenced this pull request Jul 9, 2022
I wanted to write an example to help guide people new to asynchronous programming, with fewer external dependencies (as some people requested in #66). The example starts with the [single threaded TCP server from the Rust book](https://doc.rust-lang.org/book/ch20-01-single-threaded.html) and uses async functionality to add concurrency.
The example goes through:
- some examples of blocking code and how to make them non blocking (should address #64 as well)
- spawning tasks vs using combinators to run them concurrently on a single thread
- testing code by creating mocks and implementing async read/write traits for the mocks
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.

2 participants