mruby is a lightweight implementation of the Ruby programming language designed for embedding and integration into applications, particularly in resource-constrained environments such as embedded systems or game engines. It maintains compatibility with modern Ruby syntax while offering a significantly reduced footprint compared to the standard Ruby interpreter. The system includes its own virtual machine, bytecode compiler, and interactive shell, enabling developers to write, compile, and execute Ruby code efficiently. One of its core strengths is its embeddability, allowing developers to integrate scripting capabilities directly into applications written in C or C++. mruby also includes a package system called mrbgems, which enables modular extension of functionality through additional libraries. It supports compiling Ruby scripts into bytecode or even C source code, providing flexibility for deployment in different environments.

Features

  • Lightweight Ruby interpreter designed for embedding
  • Compatibility with modern Ruby syntax and features
  • Bytecode compilation for efficient execution
  • Integration with C and C++ applications
  • Modular extension system using mrbgems
  • Support for single-file builds through amalgamation

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow mruby

mruby Web Site

Other Useful Business Software
Compliant and Reliable File Transfers Backed by Top Security Certifications Icon
Compliant and Reliable File Transfers Backed by Top Security Certifications

Cerberus FTP Server delivers SOC 2 Type II certified security and FIPS 140-2 validated encryption.

Stop relying on non-certified, legacy file transfer tools that creak under the weight of modern security demands. Get full audit trails, advanced access controls and more supported by an award-winning team of experts. Start your free 25-day trial today.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mruby!

Additional Project Details

Programming Language

C

Related Categories

C Programming Languages

Registered

2026-03-23