ParallelFx has been around for quite a long time now (first CTP was released on December, 2007). Up until now it was a separate library, labeled as an extension and thus bundled in its own assembly. However, today, ParallelFx developers announced on their blog that the final ParallelFx version should be available as an official part of the upcoming .NET 4 framework.
In addition, with the PDC near the corner, informations are beginning to filtrate about C#4. As can be seen on several videos on Channel 9 (this one particularly), the C#4 design team is seriously planning to add language features that will help programmers do multi-threaded and concurrent programs.
Most noticeably, Anders speaks, around 5:30, about compiler-enforced purity (which can be already found in other imperative language like D) and automatic isolation of objects (I suspect it’s a sort of STM where object manipulations are bundled in separate transaction).
Both of them also make very good points about the difficulty for compilers to assert that a piece of code is parallelizable. Since even experienced programmers can make mistakes about the thread-safety of their code, it appears hard for compiler to automagically assure that a piece of code is indeed side effect free in a imperative world like C# (a problem that language like Haskell don’t know, being pure by default). I also like the position of Anders about C# as an hybrid imperative/functional language.
/me is looking forward to PDC for more parallel goodness and to start implementing these features in Mono
.
Comments 3
I’m looking at the Mono ParallelFX libraries (yours, right?) in order to start using them ASAP. I’m eager to see them integrated inside the Mono trunk…
Posted 12 oct 2008 at 8 h 47 min ¶Exactly, if you speak of the ones here they are mine. Of course you can start using them now, mail me if you have any problem (if you want precompiled binaries, there are bundled in each samples located at http://netherilshade.free.fr/mono/parallelfx ).
With the announcement from the ParallelFx folks I think we will have to wait for official .NET 4 release to start integrating into mainline Mono.
Posted 12 oct 2008 at 10 h 20 min ¶http://blogs.msdn.com/stmteam/archive/2008/10/08/welcome-to-the-transactional-memory-team-s-blog.aspx
Aux vu de cet article on peut croire que tu as raison pour les STM
Posted 14 oct 2008 at 21 h 37 min ¶Post a Comment