Updated GSoC 2014 Ideas (markdown)
This commit is contained in:
parent
f705232f60
commit
cf0248bb9a
|
@ -9,9 +9,8 @@ Below is a list of project ideas for [GSoC](https://www.google-melange.com/gsoc/
|
|||
#### Add support for full coroutines
|
||||
|
||||
**Description:**
|
||||
* Many programming languages, in particular Lua, offer coroutines as way to provide light-weight collaborative tasking. Nimrod supports "closure iterators" which are comparable to Python's generators to accomplish the same.
|
||||
* However closure iterators are much more limited as they cannot capture the call stack completely.
|
||||
* The best example to see the limitations of Nimrod's current way is that iterators cannot be recursive.
|
||||
|
||||
Many programming languages, in particular Lua, offer coroutines as a way to provide light-weight collaborative tasking. Nimrod supports "closure iterators" which are comparable to Python's generators to accomplish the same. However closure iterators are much more limited as they cannot capture the call stack completely. The best example to see the limitations of Nimrod's current way is that iterators cannot be recursive.
|
||||
|
||||
Here is a sketch of a possible implementation, but there are lots of other possibilities to implement full coroutines for Nimrod:
|
||||
|
||||
|
|
Loading…
Reference in New Issue