SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
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!

Mais conteúdo relacionado

Mais procurados

Ruby on rails探索
Ruby on rails探索Ruby on rails探索
Ruby on rails探索
Mu Chun Wang
 
Crate Packaging Standalone Ruby Applications
Crate  Packaging Standalone Ruby ApplicationsCrate  Packaging Standalone Ruby Applications
Crate Packaging Standalone Ruby Applications
railsconf
 

Mais procurados (10)

MacRuby: What is it? and why should you care?
MacRuby: What is it? and why should you care?MacRuby: What is it? and why should you care?
MacRuby: What is it? and why should you care?
 
Ruby JIT Compilation
Ruby JIT CompilationRuby JIT Compilation
Ruby JIT Compilation
 
Ruby JIT Compilation - Mykhail Bortnyk
Ruby JIT Compilation - Mykhail Bortnyk Ruby JIT Compilation - Mykhail Bortnyk
Ruby JIT Compilation - Mykhail Bortnyk
 
Ruby confhighlights
Ruby confhighlightsRuby confhighlights
Ruby confhighlights
 
Ruby on rails探索
Ruby on rails探索Ruby on rails探索
Ruby on rails探索
 
くみこみからひとことReturns
くみこみからひとことReturnsくみこみからひとことReturns
くみこみからひとことReturns
 
MacRuby
MacRubyMacRuby
MacRuby
 
Crate Packaging Standalone Ruby Applications
Crate  Packaging Standalone Ruby ApplicationsCrate  Packaging Standalone Ruby Applications
Crate Packaging Standalone Ruby Applications
 
Workshop de Ruby on Rails
Workshop de Ruby on RailsWorkshop de Ruby on Rails
Workshop de Ruby on Rails
 
Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0
Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0
Upgrading to Ruby 2.1, Rails 4.0, Bootstrap 3.0
 

Semelhante a MacRuby For Ruby Developers

MacRuby & HotCocoa
MacRuby & HotCocoaMacRuby & HotCocoa
MacRuby & HotCocoa
Thilo Utke
 
Macruby& Hotcocoa presentation by Rich Kilmer
Macruby& Hotcocoa presentation by Rich KilmerMacruby& Hotcocoa presentation by Rich Kilmer
Macruby& Hotcocoa presentation by Rich Kilmer
Matt Aimonetti
 

Semelhante a MacRuby For Ruby Developers (20)

MacRuby & HotCocoa
MacRuby & HotCocoaMacRuby & HotCocoa
MacRuby & HotCocoa
 
ruby-cocoa
ruby-cocoaruby-cocoa
ruby-cocoa
 
ruby-cocoa
ruby-cocoaruby-cocoa
ruby-cocoa
 
Mac ruby deployment
Mac ruby deploymentMac ruby deployment
Mac ruby deployment
 
Road to sbt 1.0: Paved with server (2015 Amsterdam)
Road to sbt 1.0: Paved with server (2015 Amsterdam)Road to sbt 1.0: Paved with server (2015 Amsterdam)
Road to sbt 1.0: Paved with server (2015 Amsterdam)
 
IronRuby for the Rubyist
IronRuby for the RubyistIronRuby for the Rubyist
IronRuby for the Rubyist
 
Ruby Meets Cocoa
Ruby Meets CocoaRuby Meets Cocoa
Ruby Meets Cocoa
 
MacRuby on Rails
MacRuby on RailsMacRuby on Rails
MacRuby on Rails
 
Ruby On Rails Overview
Ruby On Rails OverviewRuby On Rails Overview
Ruby On Rails Overview
 
Road to sbt 1.0 paved with server
Road to sbt 1.0   paved with serverRoad to sbt 1.0   paved with server
Road to sbt 1.0 paved with server
 
Athens Ruby Meetup #3: IronRuby
Athens Ruby Meetup #3: IronRubyAthens Ruby Meetup #3: IronRuby
Athens Ruby Meetup #3: IronRuby
 
Web application intro
Web application introWeb application intro
Web application intro
 
Macruby& Hotcocoa presentation by Rich Kilmer
Macruby& Hotcocoa presentation by Rich KilmerMacruby& Hotcocoa presentation by Rich Kilmer
Macruby& Hotcocoa presentation by Rich Kilmer
 
Web application intro + a bit of ruby (revised)
Web application intro + a bit of ruby (revised)Web application intro + a bit of ruby (revised)
Web application intro + a bit of ruby (revised)
 
The story of language development
The story of language developmentThe story of language development
The story of language development
 
Highly Surmountable Challenges in Ruby+OMR JIT Compilation
Highly Surmountable Challenges in Ruby+OMR JIT CompilationHighly Surmountable Challenges in Ruby+OMR JIT Compilation
Highly Surmountable Challenges in Ruby+OMR JIT Compilation
 
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
 
MacRuby, an introduction
MacRuby, an introductionMacRuby, an introduction
MacRuby, an introduction
 
RubyMotion Introduction
RubyMotion IntroductionRubyMotion Introduction
RubyMotion Introduction
 
Bitter Java, Sweeten with JRuby
Bitter Java, Sweeten with JRubyBitter Java, Sweeten with JRuby
Bitter Java, Sweeten with JRuby
 

Mais de Renzo Borgatti

Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014
Renzo Borgatti
 

Mais de Renzo Borgatti (9)

Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014
 
Introduction to Clojure
Introduction to ClojureIntroduction to Clojure
Introduction to Clojure
 
Lavorare Da Remoto
Lavorare Da RemotoLavorare Da Remoto
Lavorare Da Remoto
 
You Say Tomato I Say Pomodoro
You Say Tomato I Say PomodoroYou Say Tomato I Say Pomodoro
You Say Tomato I Say Pomodoro
 
Agile Pomodoro Development
Agile Pomodoro DevelopmentAgile Pomodoro Development
Agile Pomodoro Development
 
Writing Apps with HotCocoa and MacRuby
Writing Apps with HotCocoa and MacRubyWriting Apps with HotCocoa and MacRuby
Writing Apps with HotCocoa and MacRuby
 
Introduction to Agile Development with Scrum
Introduction to Agile Development with ScrumIntroduction to Agile Development with Scrum
Introduction to Agile Development with Scrum
 
You say Tomato, I say Pomodoro
You say Tomato, I say PomodoroYou say Tomato, I say Pomodoro
You say Tomato, I say Pomodoro
 
Ruby BDD for Java
Ruby BDD for JavaRuby BDD for Java
Ruby BDD for Java
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

MacRuby For Ruby Developers

  • 1. http://github.com/reborg/talk-macruby/tree/src_2010 @reborg MacRuby for Ruby Developers Renzo Borgatti - Scottish Ruby Conference 2010
  • 2. What’s MacRuby? Ruby 1.9 Fork Since MacRuby 0.5 STDlib Parser LLVM Core Foundations Cocoa Objective-C GC RunTime
  • 3. 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
  • 4. Scenarios OBJ-C Ruby Eval Grand Central Dispatch ScriptingBridge Compile Ruby executables And many more...
  • 5. Good Reasons Waaay terser syntax Less lines of code No unnecessary files Double the amount of libraries Interface Builder
  • 6. Grand Central Dispatch Task C Task B Task A Thread 1 Thread 2 Core 1 Core 2 Queue Demo Time
  • 7. 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
  • 8. 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
  • 9. 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
  • 11. Resources http://www.macruby.org http://blog.reborg.net http://reborg.github.com/pomodori http://it.thinkcode.tv/english
  • 12. Check out ThinkCode.TV ! English channel almost ready with a shiny new MacRuby screencast and much more!