Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
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
In Mike McQuaid's presentation at RubyKaigi 2024, he explores how modern Ruby can be utilized to enhance Homebrew, a popular package manager for macOS. With 15 years of experience working on Homebrew, McQuaid outlines Homebrew's long-standing relationship with Ruby and discusses the ways in which they are evolving together. Key Points Discussed: - **Homebrew and Ruby's Relationship**: - Homebrew has relied on Ruby since its inception in 2009. - Initially, installations were done via direct Ruby commands, but this evolved to the current curl | bash installation method. - **Homebrew's Formula and Cask DSL**: - Introduced the concept of formulas (which define how to install packages) and casks (for binaries and installer files). - Demonstrated the readability of Ruby-based formula syntax and its impact on community adoption. - **Modernizing Homebrew**: - Transition from relying on Appleās older Ruby versions to incorporating Portable Ruby, moving to newer Ruby versions like 3.1 and 3.3. - The introduction of Sorbet for type-checking and RuboCop for code style consistency. - **Performance Improvements**: - Highlighted recent speed enhancements, such as making the 'brew list' command faster than PIP list. - Suggested further performance enhancements through Bash for certain commands to reduce execution time. - **Security Enhancements**: - Discussions around ongoing security audits and the use of GitHub Actions for attestation in binary packages. - **Work Brew**: - Briefly described the new startup effort - Work Brew, aimed at improving how Homebrew works in enterprise environments. Conclusions & Takeaways: - Emphasized the importance of community contributions for Homebrew's growth. - Encouraged the Ruby community to help improve Homebrew, focusing on its performance, security, and overall experience. - Invited attendees to reach out for assistance or to get involved, highlighting the evolving nature of Homebrew to better support users and developers alike.
Suggest modifications
Cancel