Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Ruby Racing: Challenging Ruby Methods Danielle Adams Ruby is widely-used and prides itself on "simplicity and productivity". But what is happening under the hood of our favorite programming language? Are there better, faster, or stronger ways to implement these methods? I'm going to take a deep, yet brief, dive into testing and optimizing some of Ruby's most popularly convenient methods. Help us caption & translate this video! http://amara.org/v/Prkd/
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 her talk titled "Micro Talk: Ruby Racing - Challenging Ruby Methods" at GoRuCo 2016, Danielle Adams, a software engineer at Blue Apron, delves into optimizing Ruby methods for better performance. The session begins with an engaging introduction where Adams highlights the common challenge developers face regarding the speed of their code, especially for those who predominantly use Ruby. Key points discussed in the video include: - **Understanding Ruby's Structure**: Adams explains how Ruby code is processed, from written code to tokens to an abstract syntax tree, all the way through to bytecode execution by Ruby's virtual machine (MVM). - **Exploration of Performance**: Through brainstorming sessions with her coworkers, Adams emphasizes the importance of re-evaluating Ruby's built-in methods for potential speed improvements, prompting her to create RSpec tests and benchmarks. - **Surprising Findings**: Adams shares her astonishment upon discovering that some of her Ruby implementations outperformed their C counterparts, motivating her to explore method patterns further. - **Open Source Project**: The highlighted project allows developers to test their Ruby method implementations, specifically for string and array methods, encouraging community participation to identify limitations. - **Demonstration of Methods**: Adams presents experiments with methods like sort, sample, unique, and max. She details her iterative approach using while loops and the successes she found, particularly with the unique and max methods, showcasing improvements in performance. - **Considerations for Efficiency**: The video discusses different dimensions of efficiency such as execution time, memory usage, and implementation clarity, stressing the need for developers to think critically about their code rather than taking Ruby's efficiency for granted. - **Resources and Learning**: For those interested in further exploration, Adams recommends 'Ruby Under a Microscope' by Pat Shaughnessy and encourages developers to investigate the Ruby source code for better understanding. In conclusion, Adams passionately encourages her audience to cultivate curiosity and take a closer look into what happens behind the scenes with their Ruby code. She urges developers to explore, break apart, and reconstruct their code to fully exploit Ruby's capabilities and improve efficiency. The talk combines technical insights with an inspiring message for ongoing learning and experimentation in coding practices.
Suggest modifications
Cancel