This articles was published on 2012-09-09

[CW 36] mruby news

What happened this week on the mruby front?

mrbc SEGV

A bug found by Joseph McCullough which raised a SEGV in mrbc was fixed.

9e7ca5d94462c749b25a34bc2d23984ccd37d14d

direct_threaded

An infinite loop in mrbtest raied in Visual Studion 9 was fixed.

e01c5a2b5b669cfccd43d8fb4d59bb9901cb465a

#inspect

Module and Time got #inspect and a SEGV of #inspect on classes was fixed. Kernel#inspect does not call #to_s anymore.

4f6600b98a2f7c50ee32a05c42456c8f7c719432, c0ac010b687ee38d231a8c8b4018b1862bfea4be, f9f425ae5f89cd993fd858172f9db2a48144f5ba, 26ac77af9bf8b7c73f7c4d02ce453dca2fcfef9b

Toplevel Object main

The toplevel object main was now introduced so that the behavior in the toplevel is now closer to the vanilla Ruby.

fd3af6aec88fe8ad01efb23f69a075f83ac91063, 7f30385d4ad468ea51996a22eaa636ec903f6885

Internet Initiative Japan Improvements

The other day I found a very interesting fork of mruby by the IIJ. Features added in this fork are:

  • Digest
  • ENV
  • File
  • IO
  • TCPSocket
  • UNIXSocket

I’m wondering if there is a plan that parts of these things are merged back to the master. Due to the reason that some authors of IIJ already commited to the master I would certainly expect so. Very interesting due to the reason that with these changes mruby can now interact with the world.