.NET 3.5 SP1 中使用TPL --> DevLabs: Reactive Extensions for .NET (Rx)

.NET 3.5 SP1 中使用TPL --> DevLabs: Reactive Extensions for .NET (Rx),第1张

概述DevLabs: Reactive Extensions for .NET (Rx) http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx   Rx NewsWe’re proud to announce the availability of Reactive Extensions for Javascript. This port brin

DevLabs: Reactive Extensions for .NET (Rx)

http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx

 

Rx NewsWe’re proud to announce the availability of Reactive Extensions for JavaScript. This port brings the power of Reactive programming to JavaScript. It allows you to use the Rx combinators in JavaScript,and it does this in a download size of less than 7Kb (GZipped). RxJs provIDes easy-to-use conversions from existing DOM,XmlhttpRequest,and jquery events to Rx push-collections,allowing users to seamlessly plug Rx into their existing JavaScript-based web sites.To give RxJs a try,download the installer. The installer comes with documentation and a small animation-based sample. You can provIDe Feedback on RxJs on the regular Rx forum,and of course help the Rx community to convert the 101 Rx samples to JavaScript. For an introduction,watch the Rx for JavaScript vIDeo on Channel 9.About RxRx is a library for composing asynchronous and event-based programs using observable collections.The “A” in “AJAX” stands for asynchronous,and indeed modern Web-based and Cloud-based applications are fundamentally asynchronous. In fact,Silverlight bans all blocking networking and threading operations. Asynchronous programming is by no means restricted to Web and Cloud scenarios,however. Traditional desktop applications also have to maintain responsiveness in the face of long latency IO operations and other expensive background tasks.Another common attribute of interactive applications,whether Web/Cloud or clIEnt-based,is that they are event-driven. The user interacts with the application via a GUI that receives event streams asynchronously from the mouse,keyboard,and other inputs.Rx is a superset of the standard liNQ sequence operators that exposes asynchronous and event-based computations as push-based,observable collections via the new .NET 4.0 interfaces IObservable<T> and IObserver<T>. These are the mathematical dual of the familiar IEnumerable<T> and IEnumerator<T> interfaces for pull-based,enumerable collections in the .NET Framework. The IEnumerable<T> and IEnumerator<T> interfaces allow developers to create reusable abstractions to consume and transform values from a wIDe range of concrete enumerable collections such as arrays,Lists,database tables,and XML documents. Similarly,Rx allows programmers to glue together complex event processing and asynchronous computations using liNQ querIEs over observable collections such as .NET events and APM-based computations,PFx concurrent Task<T>,the windows 7 Sensor and Location APIs,sql StreamInsight temporal event streams,F# first-class events,and async workflows.Play with Rx,stress it,evaluate it,and tell us what you think.

总结

以上是内存溢出为你收集整理的.NET 3.5 SP1 中使用TPL --> DevLabs: Reactive Extensions for .NET (Rx)全部内容,希望文章能够帮你解决.NET 3.5 SP1 中使用TPL --> DevLabs: Reactive Extensions for .NET (Rx)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1078448.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-27
下一篇 2022-05-27

发表评论

登录后才能评论

评论列表(0条)

保存