Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf 2016 - (m)Ruby on small devices by Shashank Daté mruby is the lightweight implementation of the Ruby language for linking and embedding within your applications. This talk will show how it can be used on small resource constrained devices like Raspberry Pi Zero and exploring some techniques of memory and run-time optimizations.
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 '(m)Ruby on Small Devices' presented by Shashank Daté at RubyConf 2016 focuses on the concept of mruby, a lightweight implementation of the Ruby programming language that is optimized for use on small, resource-constrained devices such as the Raspberry Pi Zero. The talk begins with an introduction to mruby, clarifying its relationship to Ruby and its compatibility with Ruby version 1.9. The speaker emphasizes mruby's minimalistic nature, which makes it suitable for embedding and linking within applications on small devices. Key points discussed in the video include: - **Definition of mruby**: It is a minimalistic version of Ruby designed to be lightweight and has fewer classes and modules compared to Ruby 2.3. - **Target Devices**: The focus is on small devices like Raspberry Pi Zero, which has limited RAM and CPU capability, making it a challenge for typical programming environments. - **Memory and Performance**: The speaker highlights how mruby uses less memory and CPU cycles than standard Ruby, making it ideal for resource-constrained environments. For instance, Ruby consumes around 6 MB of RAM compared to mruby's significantly lower usage. - **Embedding and Linking**: Daté explains the embedding of Ruby scripts into C code and linking necessary libraries to create executables that run embedded Ruby code. - **Installation Process**: The steps to install mruby on devices such as the Raspberry Pi are outlined, including the prerequisites like Git and GCC. - **Demonstration of Functionality**: The presenter showcases a simple Ruby program using mruby, illustrating how to compile and execute it as a bytecode file. The demo emphasizes the modular nature of mruby, allowing the user to customize which components to include. - **Comparison with Lua**: Mruby is compared with Lua, another lightweight scripting language, noting its advantages and limitations in the context of embedding. - **Community Involvement**: Daté notes the need for community support to expand the available libraries for mruby and promote its use in various applications. The conclusion of the presentation is a reflection on the possibilities of using mruby in constrained environments while stressing the importance of understanding hardware limitations and the embedded environment before implementing code. The speaker encourages audience interaction and exploration of mruby during a live demo session on a Raspberry Pi.
Suggest modifications
Cancel