C# Dynamic and Multiple Dispatch

I crashed Mads’ C# Tech Chat at Tech Ed EMEA in Barcelona on the grounds that the dynamic world has monkey-patched C#.  It was fun, and I had the opportunity to answer a few dynamic/DLR-related questions that Mads was probably more capable of handling than I was. One question that I choked on was whether…

1

DynamicObject

At PDC this year, both Anders and Jim used a helper “DynamicObject” class in their  demos.  This is actually a standard class in the DLR, which is why it’s in the “System” namespace. Unfortunately, DynamicObject didn’t make it into the CTP, and the version that’s in the Open Source DLR is newer than – and…

3

TechEd EMEA 2008

I’ll be speaking at a few sessions in Barcelona next week.  Of particular note is that the date, time and location of the “Microsoft Visual Studio Languages Chat” has been updated to fix a scheduling conflict.  See below for the details. TLA328 Dynamic in .NET: The IronLanguages and more. November 10 17:45 – 19:00 Room…

0

Viewing Emitted IL

Let’s say you’re working on a project such as IronPython or IronRuby that makes use of Reflection.Emit to generate code at runtime.  You’re probably used to seeing a stack trace in Visual Studio that looks something like this: Visual Studio will do its best to prevent you from viewing any part of that [Lightweight Function]. …

0

This… is… Dynamic!

Regarding our need to check-and-rethrow exceptions in IronPython, int19h asks “Shouldn’t exception filters do the trick without the need to rethrow explicitly?” That’s a good question.  In fact, I had the exact same reaction when I first started looking into this issue.  So I changed IronPython’s MSIL generation to use filters, and my updated version…

3

StackOverflowException and IronPython

A stack overflow is not a recoverable exception under .NET.  When your program runs out of stack space, the CLR will tear down your process without giving you the chance to do anything about it. So, how many frames can you get onto the stack before the world blows up?  Obviously, this depends both on…

2