[Mono-dev] What would you like to see in Mono?

Jonathan Pryor jonpryor at vt.edu
Wed Mar 29 06:51:43 EST 2006


On Wed, 2006-03-29 at 13:02 +0300, Tomi Valkeinen wrote:
> - More support for dynamic languages. Perhaps there's an unsafe way (read: 
> you have to know what you are doing) to unload types. Or perhaps a 
> modified mcs could generate code for dynamic methods. Or something else I 
> haven't thought about =).

What do you have in mind, exactly?

.NET 2.0 added System.Reflection.Emit.DynamicMethod, largely to target
dynamic languages such as IronPython.  It provides access to an
ILGenerator for a method, and the DynamicMethod + IL + assembly language
is garbage collected in the usual fashion (instead of being tied to an
Assembly, thus necessitating an AppDomain unload to free the memory).

Given IronPython is Microsoft's dynamic-language testbed, and it's
running rather nicely under .NET, I'm not sure how much more needs to be
added to better support dynamic languages...

 - Jon





More information about the Mono-devel-list mailing list