Is F# better than C# in scenarios where you need complete parallelism in parts of an application?
My main language is C# and I am writing an app where the core functionality built on top of the app (C#) has to be and planned to be very parallel.
Am I better of implementing these classes in F#?
People on the Internet use the letter F usually in a genuine way to express respects, sadness or condolences towards other Internet personalities, Internet memes or other players on certain events, such as death, misfortune or the end of a phenomenon, company, game, series, etc.
2008–14 IS-F.
I'd look at the Parallel Extensions that's being developed by Microsoft.
If you just need to process sets of data in parallel, the ParallelFX are very handy. They'll take a lot of pain out of doing it manually in C#.
But if the code has a lot of asynchronous code, F#'s async monad makes it vastly easier than can be done in C#. If you're looking at a lot of BeginXXX/EndXXX or the dreaded XXXAsync/XXXCompletedEvent code, then F# will be a major win.
Otherwise, you'll just have the general gains of F# over C#.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With