I'm looking into Ruby 1.9 to mash together with C into a game toolkit. I heard RPGMaker XP and VX are notorious because of Ruby scripting, but I read 1.9 is an adoption of a more efficient processor made by third-party and runs faster. Version 1.9 came out just recently, RPGMXP/VX likely uses the older engine.
I'm doing some research about Ruby 1.9 being the logical choice. Ruby has a very simple C embed API, whereas Lua is already robust but has what Neo called "evil ass code." If Ruby 1.9 is faster a good deal, that will be my choice. I really don't want to bust my brain trying to tame Lua's beast of an embedding process when there's a simpler but just as good alternative.
See, with Ruby's embed process, it's simply initializing the engine, defining the stuff you need, and... that's it. After that, you fiddle around and then close the engine when your program exits.
Lua is a much tougher ordeal. You have to define stacks, metatables, tables, and push and pop data from the stacks by an integer index. It's a nightmare! Don't believe me? Read chapters 24-29 of
http://lua.org/pil/ and pick a corner of the room to curl up an sob in.