IronRuby And The DLR

14
MICROSOFT CONFIDENTIAL IronRuby and the Dynamic Language Runtime (DLR) ANDRE JOHN CRUZ 19 DECEMBER 2009

description

Presentation on IronRuby and the Dynamic Language Runtime (DLR) by Andre John Cruz at the Community Technology Update 2009 event in Singapore, 19 December 2009

Transcript of IronRuby And The DLR

Page 1: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

IronRuby and the Dynamic Language Runtime (DLR)

ANDRE JOHN CRUZ19 DECEMBER 2009

Page 2: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

What’s IronRuby?

Page 3: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

What’s a “Dynamic Language?”

Expressive

Can change at runtime

Flexible

Page 4: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

Concept of “Duck Typing”

http://www.flickr.com/photos/guccibear2005/1387696735/

Page 5: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

IronRuby Console and Ruby SyntaxFrom the command line

demo

Page 6: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

The Dynamic Language Runtime (DLR)

Rationale

Unified runtime

Embeddable

Page 7: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

Using IronRuby from C#CLR to DLR Interop using the “dynamic” keyword in .NET 4.0

demo

Page 8: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

Why?

Why use a dynamic language?

http://www.flickr.com/photos/petereed/496392956/

Page 9: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

Scripting App SampleJimmy Schementi’s RubyConf 2009 Demo

demo

Page 10: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

Downsides

Performance hit

No Visual Studio IDE Integration

No LINQ, .NET attribute support

Lacking integration with .NET app frameworks

Page 11: IronRuby And The DLR

MICROSOFT CONFIDENTIAL

Future Directions

Performance improvements

Visual Studio IDE Integration

LINQ, .NET attribute support

Integration with .NET app frameworks

Page 12: IronRuby And The DLR

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

Page 13: IronRuby And The DLR

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

Page 14: IronRuby And The DLR

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.