Talks
Speakers
Events
Topics
Search
Sign in
Search
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
search talks for
⏎
Suggest modification to this talk
Title
Description
Building CLI Apps for Everyone by Terence Lee Many projects rely on command-line tools to provide an efficient and powerful interface to work. Building tools for everyone can be difficult, because of conflicting environment or OS. How can we build command-line apps that work for everyone and still write Ruby? This talk will discuss how to use mruby-cli to build cross-platform apps in Ruby. Our goal will be to build a CLI app using mruby and produce a self-contained binary that can be shipped to end users. Since mruby is designed to be embedded and statically compiled, it's also really good at packaging ruby code. Help us caption & translate this video! http://amara.org/v/H12H/
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 this talk, Terence Lee discusses the challenges and strategies for building command-line interface (CLI) applications in Ruby that can work seamlessly across different operating systems and environments. Lee emphasizes the importance of creating tools that are accessible to all developers, regardless of their technical background, while leveraging the benefits of Ruby. Key points include the evolution of the Heroku Toolbelt from a Ruby gem to a packaged installer that supports multiple platforms. This transition arose from the need to simplify the installation process for users who may not have Ruby already installed, which created barriers especially for front-end developers. The talk touches on significant performance issues with Ruby, particularly with the overhead of loading dependencies and executing commands, which can slow down CLI applications. To overcome these challenges, Lee introduces mruby-cli, an embeddable Ruby interpreter that allows for fast start-up times and the capability to produce self-contained binaries for shipping. Key points discussed include: - **The Importance of Packaging**: Lee illustrates how packaging Ruby applications into a single installer helps avoid conflicts and simplifies the user experience. - **Performance Comparisons**: The performance differences between the Ruby Toolbelt and a new implementation in Go highlight the need for efficiency in CLI applications, especially as they scale. - **New Strategies with mruby-cli**: By using mruby, developers can create lightweight binaries that maintain Ruby's syntax while improving startup performance significantly. - **Community Involvement**: The speaker encourages engagement with the Ruby community to address the technical challenges associated with building CLI tools and expand the scope of Ruby projects. Ultimately, Lee advocates for continuing to develop in Ruby while addressing its current limitations, promoting the use of mruby to create more efficient, accessible, and user-friendly command-line applications. The talk calls for collaboration among developers to share insights and build impactful Ruby CLI applications, ensuring the language remains relevant and attractive to new developers.
Suggest modifications
Cancel