Imperative Rx RRS feed

  • Question

  • Hi, I saw today Erik's (fantastic) talk from PDC'09.

    He briefly mentioned that work is being done to bring imperative programming to the reactive world. I'm assuming he was talking about the dual of iterator blocks and the yield statements.

    I was wondering what is the current state of this? Will it require language support?

    Omer Mor
    Wednesday, June 16, 2010 6:27 PM


All replies

  • we're definitely working on this. The first visible work is that in one of the recent releases, we introduced the Iterate & ListObservable / Start operators. See this discussion on how to use it:



    Next to this we also have operators that are like the F# computation expressions (http://msdn.microsoft.com/en-us/library/dd233182.aspx) such as If, While, Case, For etc..

    In the future, language integration would of course be great, so please the people that develop your favorite language know :)

    Wednesday, June 16, 2010 8:48 PM
  • For the record, what I was hinting at during my PDC talk was the Iterate & ListObservable / Start operators. 

    I expect that once people start to play with that pattern, they will quickly come up with all sorts of different variations of ListObservable that encode various policies for "asynchronous waiting" for results.

    Thursday, June 17, 2010 1:39 AM