http://github.com/reborg/talk-macruby/tree/src_2010

                     @reborg




MacRuby for Ruby
   Developers
Renzo Borgatti - Scottish Ruby Conference 2010
What’s MacRuby?
         Ruby 1.9 Fork            Since MacRuby
                                       0.5
     STDlib      Parser    LLVM



  Core Foundations        Cocoa


          Objective-C

           GC        RunTime
Ruby on Mac
2002 OS X 10.2
  Ruby 1.6.7




             2005 OS X 10.4
               Ruby 1.8.2


                                             RubyCocoa
                          2007 OS X 10.5
                            Ruby 1.8.6




                                           2009 OS X 10.6
                                                            MacRuby
                                             Ruby 1.8.7
Scenarios
                                            OBJ-C Ruby Eval


     Grand Central Dispatch



                                    ScriptingBridge

Compile Ruby
 executables



                        And many more...
Good Reasons

                                                     Waaay terser syntax

                            Less lines of code


No unnecessary files
                                            Double the amount of
                                                  libraries

                  Interface Builder
Grand Central Dispatch
     Task C


     Task B


     Task A


              Thread 1   Thread 2
               Core 1     Core 2
     Queue




                             Demo Time
But I’m a Rails developer!
No need to give up testing (mocha, matchy, bacon)
      No need to give up rake automation
            No need to give up MVC
       No need to give up favorite editor
    Learn Objective-C and Cocoa on the go
BTW: MacRuby *will* eventually run RSpec, Rails…

                                Demo Time
What about persistency?

 CoreData is a stable and powerful framework
     Awesome Cocoa and Interface Builder
              integration
SQLite under the hood (perfect for desktop app)
       Binary PLists or XML if you want


                              Demo Time
Future

MacRuby 0.6 (good guess: command line debugger, C
   extensions support, Rails Hello World, RSpec)
     Inclusion in the next releases of Mac Os
                    iPhone
Pomodori




http://reborg.github.com/pomodori
Resources

     http://www.macruby.org
      http://blog.reborg.net
http://reborg.github.com/pomodori
   http://it.thinkcode.tv/english
Check out ThinkCode.TV !




   English channel almost ready with a
   shiny new MacRuby screencast and
               much more!