Posted By: exoteric | Oct 31st @ 1:24 PM
page 1 of 1
Comments: 10 | Views: 271
exoteric
exoteric
I : Next<I>

I wonder what the reasoning is for not including Observable (Reactive Extensions for .Net) as part of .Net 4.0? Clearly one would want these combinators to start using LINQ or one would most likely build them oneself. I was browsing for Rx as part of .Net 4.0 beta 2 and only found the interfaces. Parallel Extensions for .Net are already part of .Net. I suppose it is still being worked out what combinators to include and specifically how to interact with the parallel extensions, hmm...

A great example of this is the Reactive Framework (RX), which is a library of extension methods (not included as part of .NET 4) that implement the LINQ Standard Query Operators and other useful stream transformation functions for IObservable<T>.

On the other hand, building this stuff sounds fun. Think of implementing task preemption using both "continuous" (hard) and discrete limits.

My understanding is that RX came to late to be included in .NET 4 so only the "essentials" will be included. The interfaces are a must have because you don't want everyone re-creating these interfaces. The rest can be distributed out of band for now.

AdamSpeight2008
AdamSpeight2008
The Bandito Coder

Observable collection is in the beta version of visual basic with the LINQ extensions.

Observer I haven't found yet, but the Interface is there.

Sadly if often unavoidable to implement something that will be included in the future. For example all those complex number implementation which are 'obsolete' in .NET 4. (Afaik the BCL in 4 has a complex-number implementation, right). Or in my project I've some ugly 'cast'-hacks for generics wich are useless with co- and contra-variance. =(

 

Anyway, at least the foundation is there so you can make your code Rx-ready =)

stevo_
stevo_
Human after all

Don't they have a codeplex site or something where you can download them? it seems highly unlikely they wouldn't at least release the source code for the extensions.

page 1 of 1
Comments: 10 | Views: 271
Microsoft Communities