Tuesday, September 18, 2007

Finally some news on PLINQ

It's here (almost)! PLINQ is a technology that allows developers to parallelize their LINQ queries. Check it out at MSDN. Competing platforms are so far behind .NET in this area it's laughable. They're still debating whether to add first-class closures to Java and Ruby still doesn't support native threads. By coaxing developers into writing functional code with LINQ Microsoft has done something truly brilliant. New programs written in .NET 3.5 will be ready to be parallelized just as Moore's law squeezes processing power in its icy grip. Imagine adding a single query operator to your query and seeing speed increases of 30% and more! Also see PTasks, a library for parallelizing procedural code. I can't wait for .NET 3.5!!

14 comments:

Judah Himango said...

Yes, I saw that the other day, really exciting!

Even more, I'm glad the Plinq announcement coaxed you into posting. :-)

Andrey Shchekin said...

Cool, but talking about competition, I feel Erlang as a competing platform.

Sawzall should also be good, but it is a theoretical question outside of Google ;).

Jafar Husain said...
This comment has been removed by the author.
Jafar Husain said...

Andrey: Erlang is very interesting language and I really like its intuitive, message passing approach. What is exciting about PLINQ is that it is well suited to incremental improvement. It's very easy to take an existing .NET app and take advantage of concurrency with minimal impact.

Judah: Sorry about the hiatus. I'll post more soon. I've got stuff to say about DSL tools as well as the forthcoming entity framework.

Anonymous said...

Hi,

I'm a newbie at functional programming and overwhelmed by the great examples. But where do I get basic info on expression trees and their use?

Jafar Husain said...

http://linqinaction.net/blogs/main/archive/2006/06/28/Linq_to_Amazon_implementation_fore_steps.aspx

Kirk Junlat said...

Very interesting post! I am researching about parallel programming with C# (multicore programimng or concurrent programming). There is a new book, published by Packt Publishing Ltd. (www.packtpub.com) "C# 2008 and 2005 Threaded Programming: Beginner's Guide".

I bought the book because I had read some articles published in Packt's website about it and I found really cool examples about threading programming. The book teaches to create applications that exploit multicore CPUs.

It also covers PLINQ in one chapter. However, as I had to recode a C# application to improve its performance, I couldn't wait for Microsoft to launch C# 4.0.

Nowadays, multithreading is the key to success with multicore CPUs.

Perhaps, in the future, we will be programming in Erlang or Haskell. Who knows...

http://www.packtpub.com/beginners-guide-for-C-sharp-2008-and-2005-threaded-programming/book

Anonymous said...

I like Archlord gold very much. Since I entered into this game, I learnt skills to earn Archlord money. Thanks to archlord online Gold let me know a lot of friends. It is my habit to buy Archlord gold, and I get some cheap Archlord gold from my friends and Internet.

I like to play Asda Story, because I like its name, also I like Asda Story gold. My friend told me that she would buy Asda Story money for me, and I was so happy. I do not like to go shopping, because it always spends a lot of money, but I never hesitate to buy Asda Story Gold. You can buy cheap Asda Story gold; it is so easy and convenient.

Anonymous said...

aion chinaaion china gold,
aion cn goldaion chinese gold,
aion gold chinaaion gold chinese,
china aion goldchinese aion gold,
aion china kinaaion chinese kina,
aion kina chinachina aion kina,
aion china buybuy aion china,
aion chinese server goldaion cn server gold,
aion china server goldchina aion server gold,
chinese aion server goldaion chinese server gold,
aion cn server kinaaion china server kina,
china aion server kinachinese aion server kina

cheap requiem lant said...

Now do you worried about that in the game do not had enough second life linden to play the game, now you can not worried, my friend told me a website, in here you can buy a lot linden dollars and only spend a little money, do not hesitate, it was really, in here we had much secondlife money, we can sure that you will get the cheap linden, quick to come here to buy lindens.

Now do you worried about that in the game do not had enough requiem gold to play the game, now you can not worried, my friend told me a website, in here you can buy a lot requiem lant and only spend a little money, do not hesitate, it was really, in here we had much requiem money, we can sure that you will get the cheap requiem lant, quick to come here to buy requiem online gold.

Affordable Luxurious Wedding Dress Blog said...

cheap wedding gowns,
discount bridal gowns,
China wedding dresses,
discount designer wedding dresses,
China wedding online store,
plus size wedding dresses,
cheap informal wedding dresses,
junior bridesmaid dresses,
cheap bridesmaid dresses,
maternity bridesmaid dresses,
discount flower girl gowns,
cheap prom dresses,
party dresses,
evening dresses,
mother of the bride dresses,
special occasion dresses,
cheap quinceanera dresses,
hot red wedding dresses

products said...

China Wholesale has been described as the world’s factory. This phenomenom is typified by the rise ofbusiness. Incredible range of products available with China Wholesalers “Low Price and High Quality” not only reaches directly to their target clients worldwide but also ensures that wholesale from china from China means margins you cannot find elsewhere and buy products wholesaleChina Wholesale will skyroket your profits.

products said...

Women’s nike tn Shox Rivalry est le modèle féminin le plus tendance de baskets pour le sport. tn chaussuresConcernant la semelle :Cheap Brand Jeans ShopMen Jeans - True Religion Jeans nike shoes & Puma Shoes Online- tn nike, le caoutchouc extérieur, l’EVA intermédiaire et le textile intérieur s’associent pour attribuer à la.ed hardy shirts pretty fitCharlestoncheap columbia jackets. turned a pair of double plays to do the trick.Lacoste Polo Shirts, , Burberry Polo Shirts.wholesale Lacoste polo shirts and cheap polo shirtswith great price.Thank you so much!!cheap polo shirts men'ssweate,gillette mach3 razor bladesfor men.As for

Anonymous said...

情趣用品|情趣用品|情趣用品|情趣|情趣用品|情趣

About Me

My photo
I'm a software developer who started programming at age 16 and never saw any reason to stop. I'm working on the Presentation Platform Controls team at Microsoft. My primary interests are functional programming, and Rich Internet Applications.