Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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?
share|improve this question
2  
See here for a complete answer to your question: channel9.msdn.com/Shows/Going+Deep/… –  Robert Harvey Nov 4 '11 at 17:38
1  
@RobertHarvey Although that video is still valuable and informative, channel9.msdn.com/Shows/Going+Deep/… goes over the integration with .NET 4.5 and is more up to date with the latest version. –  Richard Hein Nov 4 '11 at 22:41

2 Answers 2

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.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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