前回(id:fits:20110925)、並列コレクション等で Web コンテンツをダウンロードする処理を実装してみましたが、今回はその非同期処理版を Groovy, Scala, F# で実装してみました。(主な仕様は前回と同じ) 実行例 groovy async_download_web.groovy destdir < urls.txt今回、非同期処理のために使用した機能は以下の通りです。 Groovy : GPars Scala : 限定継続 + Actor F# : 非同期ワークフロー サンプルソースは http://github.com/fits/try_samples/tree/master/blog/20111016/ Groovy の場合: GPars 非同期処理でも GPars が使えます。 GParsPool.withPool や GParsExecutorsPool