Microsoft’s John Lam and Jim Hugunin go large with the DLR at MIX07. Here are my notes whilst listening and watching the presentation:
And DLR is going Open Source, like IronPython.
Let alone doing Basic, with REM and all.
In their only Powerpoint slide, Jim details the performance gains of IronPython on the CLR engine. I wonder if the perf gains are going to match to Ruby, too? Is the DLR/CLR going to be the saviour of the scaling bumps of Ruby?
Parts of the DLR (from Jim Hugunin at end of video):
- Dynamic type system, shared object system
- Shared hosting API; host one, get all of ’em. ruby bits are coming together now.
- Bunch of helpers for compiler writers, so dynamic language runs fast
Question: can use DLR inside console, ASP.NET?
Answer: yes, you can use DLR anywhere you are using .NET. More constrained in Silverlight, due to the sandbox.
Question: is it compiling an assembly, or executing script
Answer: Dynamic methods in .NET 2.0, for code generation lazily; and is a dynamic method. Only held whilst there is a live reference. ASP.NET scenarios with stress test not held onto. Not using method rental; System.Reflection.EmitDynamicMethod
Question: JScript.NET vs. new Dynamic Language Jscript?
Microsoft has changed, big time. My head is spinning.