8

Among other things, .NET's Reactive Extensions simplify concurrency management.

From what I've heard, .NET 4.5 will simplify concurrency management with things like the await keyword.

My Question:

  • Will .NET 4.5 make the Reactive Extensions obsolete?
  • Or is Microsoft expected to pitch the .NET 4.5 additions as an alternative way to approach asynchronous and concurrent programming?
10

The newest release of Rx Experimental supports the new .NET 4.5 features and integrates more seamlessly with async/await and Tasks. So, the answer is no, .NET 4.5 doesn't make Rx obsolete, it makes it better. Take a look at http://social.msdn.microsoft.com/Forums/en-US/rx/thread/23062737-e154-41af-99f6-45d819992254 for information on the integration with Tasks, especially under the post entitled "Prefer Async Policy". Task is best used for single values, Observables work great for streams. It depends on what you are doing.

6

Both serve complimentary needs, Rx being an event stream processing library, and the new .NET 4.5 features focusing on single-value asynchrony. Watch the C9 video for more details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.