MacRuby For Ruby Developers

  • 1,993 views
Uploaded on

Presentation given at the Scottish Ruby Conference 2010. It was mainly a practical demo, so please watch the video at http://video2010.scottishrubyconference.com/show_video/9/1

Presentation given at the Scottish Ruby Conference 2010. It was mainly a practical demo, so please watch the video at http://video2010.scottishrubyconference.com/show_video/9/1

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,993
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
15
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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
  • 10. Pomodori http://reborg.github.com/pomodori
  • 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!