Question: does CLR support for coroutines make sense? #1651
Labels
area-System.Threading.Tasks
question
Answer questions and provide assistance, not an issue with source code or documentation.
tenet-performance
Performance related issue
Projects
Milestone
I was very impressed how coroutines where built into C++20 by generalizing the calling conventions1. Is this considered for the CLR? Would it even be worth it?
I assume that features like
async
/await
andyield
would greatly benefit from that performance-wise, but the cost to change their implementations would be immense. However, laying the groundwork in the CLR might actually not be that costly...?I'm just wondering whether this is on someones radar, because, so far, I could only find this comment in a charplang issue asking which CLR changes would benefit C# language features.
1 This summary of the feature (before it got standardized) gives a nice overview.
The text was updated successfully, but these errors were encountered: