COSCUP 2025

From Scripts to Circuits: IoT Applications with mruby/c
2025年8月9日 , TR209

mruby/c is a lightweight implementation of mruby, designed specifically for environments with limited resources, supprting for IoT device development. It enables Ruby programs to run with minimal memory consumption; even the smallest application requires only about 20 KB of memory.

One of the key features of mruby/c is its concurrent execution capability, a feature not found in CRuby or standard mruby. This allows multiple programs to run in parallel without the need for an operating system. Additionally, mruby/c includes power-saving mechanisms, enabling IoT devices to operate for extended periods on limited power sources.

In this session, we'll explore how mruby/c functions, with a focus on its power-efficiency and portability to various hardware platforms. We'll conclude with a hands-on demonstration using a one-chip microcontroller.


目標觀眾/對象觀眾:

Ruby developer, IoT engineer

難易度:

初級

您也可參考: