Cottleston Pie

Fernando Felman’s thoughts on software development

  • Categories Navigation

  • Topics

  • Archives

  • Advertisements

Archive for the ‘Linq’ Category

LINQPad – get your hands dirty with Linq & more on Parallel Processing

Posted by Fernando Felman on September 24, 2007

There’s only one good way to learn new syntax and concepts: get your hands dirty with it. And now we can do just that in Linq using Joseph Albahari’s LINQPad. I especially like the Linq Challenge he posts on that page. Who’s on with me?

More on the Linq topic, Daan Leijen and Judd Hall published a very interesting article regarding PLinq: Running Queries On Multi-Core Processors. On the same issue you will find another great article from those guys: Optimize Managed Code For Multi-Core Machines.


Posted in C# v3, Linq | Leave a Comment »

PLinq – Parallel Linq for multi-CPU environments

Posted by Fernando Felman on March 11, 2007

We all know about Linq – the next C# version object-querying integration language. One of the results of the Metaprogramming approach used by the Linq technology is that you can change the underlying implementation to support more features and capabilities, and doing so without the need to change the original code that is using Linq as a framework. One of such possible upgrades to the Linq infrastructure is PLinq, an internal Microsoft project to implement Parallel Linq targeting multi CPU environments. The PLinq project is explained briefly in Joe Duffy’s blog and on eWeek.

I’m very exiting about Linq. Not just because the domain-specific extensions like Linq to Xml and Linq to SQL allows developers to code the What rather then the How, but also because of the new Metaprogramming possibilities that the Linq infrastructure introduce: lambda, the Expression type for AST (abstract syntax trees) , anonymous types, etc. One very good example of how to use the Metaprogramming tools of C# v3 is Jafar Husain’s blog which explains how to use the Linq infrastructure for code generation.

Posted in Linq | Leave a Comment »