Article: Asynchronous Workflows in F#

Posted by James Vastbinder  From/InfoQ

In this article Robert Pickering demonstrates an interesting use of asynchronous workflows in F#.  Asynchronous workflows are a BCL operation and are applicable to all .NET programming languages.

In regards to the value of asynchronous workflows, in Robert's own words:

When working with the .NET BCL all I/O operations use one of two models, the synchronous model or the asynchronous model. .... In my experience most programmers tend to use synchronous model because of its simplicity and because there are many class in the BCL that only support the synchronous model, but in many case the asynchronous programming model can produce a more responsive and more scalable application.

Robert then provides several code samples and quantifies the performance improvements gained through the use of asynchronous workflows. 

Enjoy Beyond Foundations of F# - Asynchronous Workflows written exclusively for InfoQ readers.

 感谢原创者的辛勤劳动,希望对您有所帮助,转载请注明原出处。
 您可能对 [F#] 的这些文章也感兴趣:

从C# 3.0到F#
F# 20分钟快速上手(一)
F# 之旅系列文章
F#学习之路(6)列表
F#将被集成进Visual Studio
F#语言2008年9月CTP版已经更新
F#:在不久的将来对其会有那些期待?
F# 学习之路 (2) 深刻理解函数(上)
F# 之旅(五):透过F#理解函数式编程(上)
F#学习之路(7)集合类型