IronRuby And The DLR
-
Upload
andre-john-cruz -
Category
Technology
-
view
828 -
download
0
description
Transcript of IronRuby And The DLR
MICROSOFT CONFIDENTIAL
IronRuby and the Dynamic Language Runtime (DLR)
ANDRE JOHN CRUZ19 DECEMBER 2009
MICROSOFT CONFIDENTIAL
What’s IronRuby?
MICROSOFT CONFIDENTIAL
What’s a “Dynamic Language?”
Expressive
Can change at runtime
Flexible
MICROSOFT CONFIDENTIAL
Concept of “Duck Typing”
http://www.flickr.com/photos/guccibear2005/1387696735/
MICROSOFT CONFIDENTIAL
IronRuby Console and Ruby SyntaxFrom the command line
demo
MICROSOFT CONFIDENTIAL
The Dynamic Language Runtime (DLR)
Rationale
Unified runtime
Embeddable
MICROSOFT CONFIDENTIAL
Using IronRuby from C#CLR to DLR Interop using the “dynamic” keyword in .NET 4.0
demo
MICROSOFT CONFIDENTIAL
Why?
Why use a dynamic language?
http://www.flickr.com/photos/petereed/496392956/
MICROSOFT CONFIDENTIAL
Scripting App SampleJimmy Schementi’s RubyConf 2009 Demo
demo
MICROSOFT CONFIDENTIAL
Downsides
Performance hit
No Visual Studio IDE Integration
No LINQ, .NET attribute support
Lacking integration with .NET app frameworks
MICROSOFT CONFIDENTIAL
Future Directions
Performance improvements
Visual Studio IDE Integration
LINQ, .NET attribute support
Integration with .NET app frameworks
MICROSOFT CONFIDENTIAL
Additional Resources
http://blog.jimmy.schementi.comhttp://www.flanders.co.nzhttp://devpinoy.org/blogs/cruizer
Official Sites
Blogs
http://www.ironruby.nethttp://www.ironruby.infohttp://ironruby.codeplex.comhttp://www.ruby-lang.org
MICROSOFT CONFIDENTIAL
The Definitive Sites for your Developer and IT Resources
www.microsoft.com/singapore/technet www.microsoft.com/singapore/msdn
TechNet Singapore MSDN Singapore
MICROSOFT CONFIDENTIAL
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the
date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.