All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more…
The F# team has released the F# PowerPack for download on CodePlex, and we're very excited that the PowerPack now has direct support for PLINQ. From the CodePlex site:
F# Parallel LINQ IntegrationFSharp.PowerPack.Parallel.dll provides an F#-style API for parallel operations on sequences that are part of .NET 4.0 as System.Linq.ParallelEnumerable class. The API is akin to F# operations on sequences:let nums = [|1..500000|]let finalDigitOfPrimes = nums |> PSeq.filter isPrime |> PSeq.groupBy (fun i -> i % 10) |> PSeq.map (fun (k, vs) -> (k, Seq.length vs)) |> PSeq.toArray
Enjoy!
Hi guys,
Not really into F# yet but want to let you know that i love the recent surge in blogging activity! Love this parallel stuff so please keep it up. Much appreciated!
GJ
Hi Gert-Jan-
Thanks for the feedback. It's great to know you're interested and staying tuned to the blog. If you're already using our .NET 4 parallelism support, we'd be interested in knowing how and what your experiences have been. Please feel free to email me at stoub at microsoft dot com.
Any chance you could tell me what I'm doing wrong with PSeq.sumBy http://mdavey.wordpress.com/2010/03/11/f-pseq-sumby-whats-gone-wrong/
Hi Matt-
Thanks for letting us know. Looks like it's a known bug: http://fsharppowerpack.codeplex.com/WorkItem/View.aspx?WorkItemId=4139.