What is the significance for Ruby programmers of SAP's new implementation of Ruby?

There are actually quite a few alternative implementations. The reason for so many versions is partly because while Ruby itself has a lot of fans, MRI is often considered to be not quite as nice as the language it hosts.

This is a list of all the other Ruby implementations I know of:

  • MRI

  • JRuby for Java. Its speed advantage isn't as great now that Ruby 1.9 is out, but it's still a big player for its integration with Java.

  • IronRuby (still in development) for .NET

  • MacRuby for making native Mac OS X applications. It's currently based on Ruby 1.9, but they're going to release a new LLVM-based virtual machine for the next version, which looks to offer a major speed boost and will hopefully be portable to other LLVM target platforms.

  • MagLev (still very much in development) for high-capacity Web apps. It will probably be a commercial product.

  • Rubinius is a ground-up reimplementation meant as an alternative to MRI with a much cleaner foundation.

I doubt Blue Ruby will have much of an impact on the general software development landscape. It will probably be nice for SAP programmers and allow them to cast a wider net for potential hires since Ruby is somewhat more popular than ABAP.

All of the current Ruby implementations are compiled to bytecode. Contrary to SAP's claims, as of Ruby 1.9, MRI itself includes a bytecode compiler, though the ability to save the compiled bytecode to disk disappeared somewhere in the process of merging the YARV virtual machine. JRuby is compiled into Java .class files. I don't have a lot of details on MagLev, but it seems safe to say it will take that road as well.


Each implementation has its own use cases. JRuby is useful for much the same reasons Jython is. IronRuby will be useful in a .NET environment, when it exists in a usable state.

Things like this make Ruby more acceptable on the Enterprise level, and hasten the spread of Good Programming Languages.


Of course, Blue Ruby is intended for SAP related people. I don't think is going to have much more of an impact on the Ruby community because most Ruby developers are not related to ABAP development.

The main purpose of Blue Ruby is to bring a powerful Scripting Language into the ABAP world, providing more tools for ABAP developers.

You can read my blog on Blue Ruby providing an SE16 (Data table explorer) emulator.

https://weblogs.sdn.sap.com/pub/wlg/14222

Greetings,

Alvaro "Blag" Tejada Galindo.

Senior ABAP Consultant - SAP Mentor.