Comments (2)
相比于老异步模式,无栈协程没有决定性的性能优势,只是相对来说可以提供更多的编译器优化机会,应该只是常数级别的优化。
无栈协程最大的优势还是可以写出更易读,更好维护的代码
from async_simple.
协程性能不会比回调高,最大优势就是解决了回调地狱
from async_simple.
Related Issues (20)
- xmake build failed on windows HOT 4
- Deploy static content to Pages task is getting failure HOT 3
- a bug in specifying executors for Future HOT 11
- What about add a new feature lazy_local HOT 6
- Perhaps more information can be exposed to the Executor to guide scheduling HOT 13
- Try.h报错信息拼写错误
- co_await async_simple::coro::sleep() question HOT 4
- how to resume a Yield coro HOT 2
- 可否提供一个客户端异步http请求的例子? HOT 11
- ConditionVariable::notifyOne 可能miss唤醒,
- 請問如何實現類似epoll的模型? HOT 4
- There might be better to use like `asyncio.gather` in example of `StacklessCoroutineAndFuture.md` HOT 1
- coro::ConditionVariable is not aware of Executor HOT 3
- A question about Mutex implementation HOT 3
- GTEST_INCLUDE_DIR-NOTFOUND HOT 2
- how to adapt to callback style API HOT 3
- Bug Report: Extra Increment on Generator::iterator After Completion Causes Crash Using Clang15 HOT 6
- What are the best practices for cancellation? HOT 1
- Mutex unlock这里为啥是原地resume呀 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async_simple.