Incorporate c++ 20 coroutine into open cilk #173
charleslai2000
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm newbie for this grace and neat project. After several days of exploring. I suggest inIncorporate c++ 20 coroutine into open cilk.
To do this, we need change some code slightly to support the following code:
The code snippet is just an example. More neat style is available. For example, you can make cilk_spawn mean an implicit suspend.
BTW Cheetah runtime is heavy by using mutex and spin lock, it's a little bit outdated. Contemporary computing model will spin thread on a single CPU, and avoid these heavy operation totally. To do this need re-write the runtime totally.
I think, open cilk has a very simple and neat program model. If it can adopt contemporary advances and not stick to Intel's implementation. This model can change something in parallel programing.
Beta Was this translation helpful? Give feedback.
All reactions