-
Notifications
You must be signed in to change notification settings - Fork 3
What values does Stackful coroutines offer ?
Alogani edited this page Jun 13, 2024
·
1 revision
The NimGo library provides an alternative approach to handling asynchronous code compared to the existing options like std/asyncdispatch and chronos. The main difference is that classical async library "colors" functions (that article provides more information about it), meaning it modifies the function signature to include the asynchronous context.
This approach can offer some advantages, such as providing more control over the flow of data. However, it also comes with some drawbacks:
- Increased verbosity in the codebase
- Slower compilation speeds
- Potential "contamination" of the codebase, as the async library requires all related functions to be written using its asynchronous constructs.