Hacker News new | ask | show | jobs
by contextfree 5488 days ago
I'm not familiar with the DCE VM, but DLR is a library on top of the CLR, not a different version of the CLR.
1 comments

It is a library on top of the CLR, but it cannot function without CLR-specific capabilities.

For example DynamicMethod, which represents a method reference that can be created at runtime and garbage-collected when no longer in use; similar to the lightweight method handlers in JSR 292.

That said, modifying existing classes on top of the CLR is not possible, unless it inherits from something like ExpandoObject, but you can pull the same trick in Java (though not as easily until JSR 292 comes out).