Ruby Video
Talks
Speakers
Events
Topics
Leaderboard
Sign in
Talks
Speakers
Events
Topics
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Ruby is a great language for building web applications and manipulating text but it's also the best language to interact with your favorite Mac apps or even build a new app to sell on the Mac App Store. I will demonstrate how to build a simple GUI app in MacRuby and discuss the benefits and drawbacks of doing so versus using RubyCocoa, Objective-C, Objective-J, or Java. I will also discuss the roadmap for MacRuby 1.0, scheduled to be released later this year. Help us caption & translate this video! http://amara.org/v/GZCe/
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled "GUI Programming with Mac Ruby" features Erik Michaels-Ober discussing the capabilities and advantages of using MacRuby for GUI programming on macOS. MacRuby is presented as a powerful tool that allows developers familiar with Ruby to create GUI applications, bridging Ruby's elegance and the performance of Objective-C. **Key Points Discussed:** - **Who is Erik Michaels-Ober:** - An open-source software developer and fellow at Code for America. - Currently developing a MacRuby application called Hubcap, a social GitHub client. - **Introduction to MacRuby:** - MacRuby is a complete implementation of Ruby 1.9, running on macOS core technologies instead of a Java Virtual Machine (JVM). - It utilizes the Objective-C runtime and offers features such as a superior garbage collector and Just-In-Time (JIT) compilation. - **Comparison with Other Languages:** - Unlike AppleScript, which is considered limited, MacRuby provides a full programming experience with object orientation, blocks, and advanced features like regular expressions. - It also aims to provide better performance compared to Objective-C due to its integration with LLVM. - **Advantages of Using MacRuby:** - Allows Ruby developers to use existing Ruby libraries and leverage Ruby 1.9 features. - Eliminates the global interpreter lock issue, enhancing performance in multi-threaded scenarios. - **GUI Programming with MacRuby:** - Two main uses: controlling existing GUI applications and creating new GUI applications. - MacRuby applications maintain the native look and feel of macOS applications, in contrast to Java apps. - **Future of MacRuby:** - Version 0.10 was released recently, and version 1.0 is on the horizon. - Acknowledged the advantage of MacRuby being potentially included as a public framework in macOS, reducing application sizes significantly. - **Resources Available:** - Recommendations include a book co-authored by Matt Aimonetti titled 'Ruby: The Definitive Guide' and another resource 'MacRuby in Action'. **Conclusion:** MacRuby emerges as a compelling framework for Ruby developers to build native GUI applications on macOS due to its integration with existing Ruby libraries and the advantages of Objective-C performance. With the growing opportunities in the Mac App Store and the continuous development of MacRuby, it represents a viable path for Ruby enthusiasts looking to enter the realm of desktop application development.
Suggest modifications
Cancel