F#

A few weeks back, Soma blogged about an increased investment by the Microsoft Developer Division in the F# language.  Part of this increased investment has been the creation of a small team in Redmond to work with F#’s creator Don Syme to bring F# into the set of first class languages supported on .NET.  This…

25

Taking LINQ to Objects to Extremes: A fully LINQified RayTracer

Not too long ago I blogged about a C# raytracer which took advantage of a lot of C#3.0 language constructs.  However, you may have noticed that it did not actually use LINQ query expressions all that much.  Well, after discussing this with a coworker on the PLINQ team at lunch one day – I was convinced that…

51

Monadic Parser Combinators using C# 3.0

Parser combinators are an idea that I enjoy every time I go back and look at again.  They are an approach to building parsers by composing very simple atomic parsers into bigger and bigger units which can ultimately express real world grammars.  This idea has been particularly popular in functional languages where the parsers can naturally…

19

C# 3.0 and CodeDOM

The CodeDOM is a very handy .NET API which allows you to programatically compile code using the .NET compilers and programatically construct code without just pasting together strings.  With the new version of the language, we’ve heard a numer of questions about how to use the CodeDOM with the new compiler. There are two aspects…

12

.NET Framework Multitargeting in Visual Studio 2008 (aka Orcas)

One of the really great features I worked on for our upcoming release is “.NET Framework Multitargeting” for Visual Studio.  This allows you to build applications targeting any of these frameworks using Visual Studio 2008: .NET Framework 2.0 – released with Visual Studio 2005 .NET Framework 3.0 – released with Windows Vista .NET Framework 3.5 –…

33

C#3.0 Session at TechEd2007 – Code Samples

I just presented my C#3.0 session at TechEd Orlando titled “DEV346 – Microsoft Visual C# Under the Covers: An In-Depth Look at C# 3.0”.  The talk introduces the new C# language features and takes a tour behind the scenes of LINQ to Objects to see how C# is used to enable creating rich new kinds…

1

F12 – Go To Definition

A few months ago when Bill Gates was on the Daily Show, Jon Stewart asked him a particularly insightful software question: “So…what does the F12 button do?  Does it do anything?  Is it a joke button”.  To which Bill replied jokingly – “I’d stay away from it if I were you.”  If you use Visual…

17

At TechEd Orlando

I just arrived in Orlando for TechEd 2007.  I’ll be presenting later on in the week on C#3.0 – but untill then, I get to spend some time talking to folks at the C# booth and attending a couple of the C#, LINQ and Visual Studio sessions to see what people are saying. If you…

4

My Channel9 Video on LINQ in Orcas

Looks like Channel9 just posted a video interview I did about LINQ in Orcas.  In the video, I show a couple of demos of some of the LINQ and C#3.0 integration into VS Orcas, including IntelliSense and debugging improvements, as well as spending some time at the whiteboard talking about a few of the new…

1

C# Language and Compiler Chat – Monday May 7th, 11AM PST

Thought I’d spread the word that we’ve got a C# language and compiler chat coming up on Monday morning.  Stop by the chat to ask questions, give feedback, or just hang out and discuss any C# language or compiler topics you are interested in.  See you there! <from the microsoft.com chats page> C# Compiler and…

2