August 2009 Entries

I’m working on switching this blog over to the Disqus commenting system. I have it in place for commenting now, but still need to find a way to export all the old comments and import them into Disqus so I can keep the legacy discussions alive.

posted Monday, August 31, 2009 7:02 AM | Comments | Filed Under [ Personal ]

Yesssssssss! I’ve been waiting and hoping that this was coming in 4.0 and now it’s official: Full Expression Tree Support. This seems like a HUGE step forward to me. With the advent of this feature, one can finally implement support for converting an expression written in C# to something that runs on the GPU. For example, this would enable a scenario in the future where we can actually write WPF shader code using C#/VB and they can be considered safe because a “GLINQ” interpreter could inspect the statements before it converts them to shader code directly on the fly at runtime.

I haven’t blogged in forever (something I want to get back into), but this news warranted a post immediately. Really excited, hope I can find some time to tinker with starting a expression tree based GPU library.

UPDATE/CORRECTION:

Ah, darn it. Looks like I read the post wrong. While full support is coming to the expression library, it looks lilke C# 4.0 will still not implement compiling of full method bodies into expression trees. Do they really think that having the ability to hand write expression trees by hand with the expression library is of any use? 'Cause I don't really see it happening... gotta have the language support for it to take off. :\ 

Guess it'll be another four years of not being able to implement something like rich GPU support inside of .NET languages. :(

posted Monday, August 24, 2009 11:04 AM | Comments | Filed Under [ .NET ]