Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf 2018 - ROM: the final frontier of mruby by Masayoshi Takahashi and Yurie Yamane Memory is limited resource of physical devices. Although mruby is smaller than MRI, it’s not small enough for cheap and easily avaiable devices. But there is another frontier: ROM. Many boards has larger Flash ROM than RAM. However, Ruby is too dynamic to put into ROM just as it is. How can we use ROM to implement classes of Ruby, and how small can we make mruby? It’s a thirty-minutes mission to explore strange new worlds.
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 'ROM: the final frontier of mruby' presented by Yurie Yamane and Masayoshi Takahashi during RubyConf 2018 delves into the adaptation of Ruby for embedded systems through a project called 'movie.' The main focus lies on utilizing Read-Only Memory (ROM) to implement Ruby classes efficiently within the constraints of physical devices like microcontrollers. Key points discussed in the video include: - **Introduction to the Concept of 'Movie':** The term 'movie' refers to a lightweight Ruby implementation designed for small embedded systems, targeting applications such as robotics and gaming. - **Differences from Other Implementations:** The movie's resource management strategy sets it apart from standard Ruby versions like CRuby and JRuby, allowing programs to execute without extensive compilation. - **Use of Microcontrollers:** Demonstrations were given using two specific devices: the Nucleo-F401RE with an ARM Cortex-M4 microcontroller and the M5Stack with an ESP32, showcasing their capabilities in interactive applications. - **Overview of ROM and Memory Types:** The talk contrasts various ROM types, emphasizing the advantages of Flash memory for its larger capacity and cost-effectiveness, especially in resource-limited scenarios. - **Challenges of Dynamic Languages:** The complexities tied to Ruby's dynamic nature create challenges in resource management on embedded systems, particularly with memory initialization and garbage collection. - **Structure and Memory Management in the Movie Project:** The movie project involves using C structures to facilitate the internal Ruby object model and ensure efficient runtime management of objects and classes while maintaining Ruby's dynamic capabilities. - **Encouragement for Global Collaboration:** The speakers highlighted the significance of ongoing feedback and contributions from the developer community to further enhance the project. In concluding, the presentation emphasizes the potential of mruby within embedded systems and calls for collective participation in its development, showcasing the compatibility of dynamic programming with constrained environments. The video serves as an informative exploration into the integration of Ruby within resource-limited devices, paving the way for innovative applications and further developments in this field.
Suggest modifications
Cancel