IronRubyRuby & .NET’s Love Child<br />Ivan Porto Carrero<br />ivan@white rabbit consulting.eu<br />
About me<br />IRC hooligan! CasualJim<br />Partner at White Rabbit Consulting<br />C# MVP<br />Author “IronRuby in Action”...
Concepts covered<br />Introduction to IronRuby<br />Why IronRuby and Mono?<br />Leveraging Ruby libraries<br />Sinatra<br ...
Introduction to IronRuby<br />Open Source (MS PL)<br />Microsoft DLR<br />Currently 1.0 RC1<br />RC2 is imminent – this we...
The CLR as we knew it<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />5<br />C#<br />VB.NET<br />…...
The new & improved CLR<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />6<br />C#<br />VB.NET<br />...
Why should we care?<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />7<br />
For me the purpose of life is partly to have joy. Programmers often feel joy when they can concentrateon the creative side...
February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />9<br />
Caricature & Rspec<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />10<br />
IronRuby & SilverlightTruly cross-platform GUIs<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />11...
Sinatra has entered the building!<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />12<br />
Extending existing applications<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />13<br />
Forthcoming book, “IronRuby in Action”<br />Manning Publishers<br />
Questions?<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />15<br />
Get in touch…<br />www.WhiteRabbitConsulting.eu<br />ivan@whiterabbitconsulting.eu<br />Twitterati @casualjim<br />http://...
Upcoming SlideShare
Loading in …5
×

IronRuby - Fosdem 2010

2,459 views
2,018 views

Published on

The slides for the presentation I gave in the Mono dev room at Fosdem on 07/02/2010

Published in: Business, Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,459
On SlideShare
0
From Embeds
0
Number of Embeds
51
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Shared dynamic subsystemStandard hosting environmentFull access to the CLREnable fast generation of dynamic codeProductivity gainsDSL’s rule the world, unfortunately most of those DSL’s are in XML * config files * manifests * build scripts=&amp;gt; Why use xml?To quote Phil Haack: Friends don’t let friends do XML. This pretty much sums up how I feel about xml as well.**** Demo Ninject configuration ****
  • Many people that come to Ruby do so through the Rails framework.And then often you can hear these people say:I came for Rails but I stayed for RubyRuby is a pleasant language to work with, partly because its well-chosen keywords, but mostly because it represents a kind of best breed implementation of a programming language. One of the goals ruby tries to achieve is to make the language you use ,when you’re writing your algorithms, a lot like a natural language. For example ruby has both the keywords if and unless, and you can apply those in 2 different ways. Best of breed Duck typing Everything is an object Classes are open / monkey patching Flexible Functional Procedural meta programming
  • Get into dynamic typing before duck typingRuby cares about typesIt cares about hierarchy + mixins when doing method lookupOnly safe operations against an object (no magic)Conversions explicit stepYou can override operators to allow for implicit conversion =&amp;gt; explicit step + you’re in controlExplain how static typing resembles aristocracy with their bloodlines and how heritage is more important than capabilitiesExplain how duck typing focusses on the abilities of objects instead of their type. If the method is there it’s all good
  • IronRuby - Fosdem 2010

    1. IronRubyRuby & .NET’s Love Child<br />Ivan Porto Carrero<br />ivan@white rabbit consulting.eu<br />
    2. About me<br />IRC hooligan! CasualJim<br />Partner at White Rabbit Consulting<br />C# MVP<br />Author “IronRuby in Action”<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />2<br />
    3. Concepts covered<br />Introduction to IronRuby<br />Why IronRuby and Mono?<br />Leveraging Ruby libraries<br />Sinatra<br />IronRuby + Silverlight<br />BDD with Rspec & Caricature<br />Extending existing apps<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />3<br />
    4. Introduction to IronRuby<br />Open Source (MS PL)<br />Microsoft DLR<br />Currently 1.0 RC1<br />RC2 is imminent – this week<br />February 6, 2010<br />4<br />IronRuby: Ruby & .NET&apos;s Love Child<br />
    5. The CLR as we knew it<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />5<br />C#<br />VB.NET<br />…<br />Base Class Libraries<br />Common Type system<br />Security<br />Class Loader, GC, JIT, Execution Support<br />
    6. The new & improved CLR<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />6<br />C#<br />VB.NET<br />…<br />Base Class Libraries<br />DLR Runtime<br />Common Type system<br />Security<br />Class Loader, GC, JIT, Execution Support<br />
    7. Why should we care?<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />7<br />
    8. For me the purpose of life is partly to have joy. Programmers often feel joy when they can concentrateon the creative side of programming, so Ruby is designed to make programmers happy. <br />Yukihiro “Matz” Matsumoto<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />8<br />
    9. February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />9<br />
    10. Caricature & Rspec<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />10<br />
    11. IronRuby & SilverlightTruly cross-platform GUIs<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />11<br />
    12. Sinatra has entered the building!<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />12<br />
    13. Extending existing applications<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />13<br />
    14. Forthcoming book, “IronRuby in Action”<br />Manning Publishers<br />
    15. Questions?<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />15<br />
    16. Get in touch…<br />www.WhiteRabbitConsulting.eu<br />ivan@whiterabbitconsulting.eu<br />Twitterati @casualjim<br />http://github.com/casualjim/<br />February 6, 2010<br />IronRuby: Ruby & .NET&apos;s Love Child<br />16<br />

    ×