While there is Ruby 2.6 expected this Christmas, we have news about mruby. mruby is a lightweight Ruby implementation designed for embedding or linking with other apps. Recently a new version of mruby 2.0.0 was released! New features include keyword arguments and argument deconstruction.
This release includes the improvement of Ruby2.x compatibility and memory consumption. Among new features are:
- Keyword Arguments Implemented (Ruby 2.0 Compatible)
- Argument Deconstructing Implemented
- Core libraries
- New tools (mruby compiler (mrbc), mruby interpreter (mruby), interactive mruby (mirb))
Several improvements were done in mruby 2.0.0 to reduce memory consumption:
- Instance variables are stored in segmented lists
- Hash implementation replaced from khash
--remove-lvoption was added to mruby compiler(mrbc)
- And smaller improvements including VM stack and call frames.
Get to know more about new features here.