Sign in
Iron Curt
Dynamic Languages and the Programmers that Love Them
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
DynamicDataTable
Guts
IronPython
Archive
Archives
May 2009
(3)
April 2009
(1)
March 2009
(1)
November 2008
(3)
August 2008
(1)
July 2008
(2)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Iron Curt
DynamicDataTable, Part 2
Posted
over 4 years ago
by
curth
1
Comments
The next thing we want for our dynamic DataTable is to do calculations between one or more columns. Imagine (for instance) that you want to add two columns and store the result in a third. In C#, the client code might look like this: dynamic table = new...
Iron Curt
DynamicDataTable, Part 1
Posted
over 4 years ago
by
curth
2
Comments
Let’s get started by doing “the simplest thing that could possibly work”. public class DynamicDataTable : DynamicObject { private readonly DataTable _table; public DynamicDataTable( DataTable table) { _table = table; } } For now, we’ll...
Iron Curt
DynamicDataTable, Part 0
Posted
over 4 years ago
by
curth
1
Comments
To commemorate the first beta release of the first CLR to contain the DLR, I’m going to try to implement something more interesting than useful – a dynamic version of the DataTable class. My goal is to show how the dynamic support in C#4 and VB10 can...
Iron Curt
Profiler Part II: Poor Man’s Code Coverage
Posted
over 4 years ago
by
curth
3
Comments
The only feedback I’ve gotten so far about the IronPython Profiler is that it would be nice not to have to specify a command-line option to use it. Imagine that you’ve got a REPL open and are in the middle of some interactive development – something at...
Iron Curt
An IronPython Profiler
Posted
over 4 years ago
by
curth
2
Comments
I was recently working on improving the performance of a Python -based application and thought it would be useful to profile my code. My intuition was telling me that the problem was in a certain area of the code, but I wanted hard numbers to back...
Iron Curt
C# Dynamic and Multiple Dispatch
Posted
over 5 years ago
by
curth
1
Comments
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...
Iron Curt
DynamicObject
Posted
over 5 years ago
by
curth
3
Comments
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...
Iron Curt
TechEd EMEA 2008
Posted
over 5 years ago
by
curth
0
Comments
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...
Iron Curt
Viewing Emitted IL
Posted
over 5 years ago
by
curth
1
Comments
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...
Iron Curt
This... is... Dynamic!
Posted
over 5 years ago
by
curth
3
Comments
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...
Iron Curt
StackOverflowException and IronPython
Posted
over 5 years ago
by
curth
2
Comments
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...
Page 1 of 1 (11 items)