Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Technical Background of Interactive CLI of Ruby 2.7 by ITOYANAGI Sakura Ruby 2.7 will be released with new multiline IRB that uses a new input library Reline. I'll talk about the technical background of it. the history of terminal the Morse code typewriter teletype escape sequence escape sequence on Unix like OS Windows support GNU Readline compatible features editing modes inputrc that is a setting file I8n support too many character encodings in the world Unicode's complex tweaked specifications ...it's very difficult to understand for non-CJK people so I'll try to explain it by emoji #confreaks #rubyconf2019
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 presentation by ITOYANAGI Sakura at RubyConf 2019, the technical background of the new Interactive Ruby Shell (IRB) introduced in Ruby 2.7 is discussed, emphasizing its multi-line editing capabilities powered by the new Reline library. The talk provides insights into the historical context of terminal development and the challenges associated with character encoding and internationalization in programming tools. ### Key Points: - **Introduction to Speaker**: ITOYANAGI Sakura introduces herself as a Ruby committer and RDoc maintainer, sharing her journey and the significance of Ruby in her career. - **Adventure in Ruby**: Sakura likens her work to an adventure, paralleling experiences in climbing with exploring unknown territories in Ruby development. - **Overview of IRB Improvements**: The updated IRB aims to enhance user experience with multi-line editing. This new feature was supported by the Ruby core team and was a vision of its original author, K.G. Sang. - **Historical Context of Terminals**: - Discussion of the evolution of communication technologies, from Morse code to modern terminals, outlining key inventions such as typewriters and teletypes. - Emphasis on the development of escape sequences, control codes, and their relevance to Unix-like systems and Windows. - **Character Encoding and I18n Challenges**: Highlights the complexity of character encodings globally, particularly for languages like Chinese, Japanese, and Korean. - Explanation of Unicode and its role in standardizing character representation, using emojis to demonstrate code points and graphemes. - **Technical Structure of the New IRB**: The presentation underlines how Ruby handles different characters, emphasizing methods like `String#codepoints` and `String#graphemes` for managing character data effectively. - **Demonstration of New Features**: The talk concludes with a live demo showcasing the new IRB, focusing on its multi-line editing capabilities, while providing reassurance about legacy modes for compatibility with older versions. ### Conclusion: Sakura emphasizes the innovative strides made with Ruby 2.7's IRB, which integrates both historical insights and modern programming needs. The new features are set to improve the interactive development experience in Ruby, while being mindful of the diverse character needs of a global user base.
Suggest modifications
Cancel