There’s been a number of announcements recently for Ruby implementations designed for use on embedded systems, and especially – phones. This could be very awesome, and I am thrilled to hear this news. The projects aren’t operational yet but expect to be available for public use by summer time.
First there is mRuby, the lightweight implementation designed by Matz himself (the creator of Ruby). This was designed to compete with languages like Lua which, though ugly, offer small compiled sizes and quick runtime.
In the future you can access the mRuby git repo here: https://github.com/mruby/mruby
Here is a talk by Matz about mRuby:
Next is the MobiRuby project. MobiRuby is a toolkit for using Ruby to write iOS apps directly in Ruby. This project actually uses mRuby (above) as it’s base, as a way to show what can be done with Ruby on embedded systems. This looks really sweet, I would love to be able to use Ruby to write phone apps.
Here is the MobiRuby project page: http://mobiruby.org/
There’s not much else to say, these have pretty much only been announced. Once they have examples out, I will certainly do some tinkering and writeup some tutorials I am sure. Great things are happening for Ruby! Be Psyched!
Posted: April 20th, 2012 under MobiRuby, mRuby.
Comments
Comment from Matt Aimonetti
Time April 27, 2012 at 10:26 am
I also wrote a blog post covering mruby and MobiRuby from the perspective of a MacRuby developer: http://matt.aimonetti.net/posts/2012/04/20/mruby-and-mobiruby/
And finally, if you are interested in digging a bit deeper in mruby, I wrote an introduction/getting started article:
http://matt.aimonetti.net/posts/2012/04/25/getting-started-with-mruby/


Comment from Dorthe
Time April 21, 2012 at 8:14 am
Here’s a blog post on using mruby as embedded language in a nosql database (AvocadoDB), like Lua within Redis. We’ll most probably move on and implement it completely as alternative to Javascript.
http://www.avocadodb.org/2012/04/20/using-mruby-as-alternative-to-server-side-javascript