Anyone interested should learn what continuations are (in Scheme).
[0] http://cs.brown.edu/courses/cs173/2012/book/Control_Operatio...
I always thought generators were merely a way of making convoluted iterators, but when I realized that you can put your application logic inside a generator, in my head, it immediately turned it into a "how did I ever code without this before" kind of feature.
I just hope other browsers (especially IE) follow suit in implementing this feature
We don't use JSC here, so I couldn't make a good case for extending the work to cover Safari as well. Anyone wanting to help implement them in JSC has two good blueprints to work from.
I reached out to the IE team back when Andy was still early in the implementation and let them know what we were doing and what the release timeframe was in the hopes that it would help prioritize generators on their side, but I have yet to hear a peep about IE support.
Maybe all we need are some benchmarks? :)
edit: typo
It's also quite fun that you can embed a simple prolog in languages with generators fairly easily too: http://yieldprolog.sourceforge.net/
Does this mean that we can use Task.js in ordinary web pages now?