S
Schala Zeal
I've been trying to find a scripting language to integrate into a game
I'm developing in C and my choices are pretty much either Ruby or Lua.
See, game developers tell me Lua is the way to go for performance and
flexibility, but the C embedding API feels so low-level that it's
intimidating.
Ruby, on the other hand, has a much friendlier C embedding API and
doesn't look to need the developer jumping through hoops. However, some
of my friends develop their games on a program called RPGMaker and they
say the newer versions are awful mainly because of Ruby being the new
scripting language and on top of that, Ruby's been criticized for the
processing power.
I looked into Ruby 1.9 to find it adopted a more efficient third-party
interpreter and that code runs 15% faster... or something. Reading about
that restored my hope that I could use Ruby with no reprecussions. On a
hunch, I checked the latest RPGMaker's release date which was Dec 27,
2007.
A lot of concerns plague me about 1.9. I suppose the most important
would be does 1.9 redeem Ruby's processing efficiency? Version 1.9 is
fairly new, so I'm guessing RPGMaker had to be using 1.8 or lower, which
is the old engine.
The bottom line is would there be any negative impact if I were to embed
a Ruby 1.9.1 scripting engine in my game, in contrast to Lua?
I'm developing in C and my choices are pretty much either Ruby or Lua.
See, game developers tell me Lua is the way to go for performance and
flexibility, but the C embedding API feels so low-level that it's
intimidating.
Ruby, on the other hand, has a much friendlier C embedding API and
doesn't look to need the developer jumping through hoops. However, some
of my friends develop their games on a program called RPGMaker and they
say the newer versions are awful mainly because of Ruby being the new
scripting language and on top of that, Ruby's been criticized for the
processing power.
I looked into Ruby 1.9 to find it adopted a more efficient third-party
interpreter and that code runs 15% faster... or something. Reading about
that restored my hope that I could use Ruby with no reprecussions. On a
hunch, I checked the latest RPGMaker's release date which was Dec 27,
2007.
A lot of concerns plague me about 1.9. I suppose the most important
would be does 1.9 redeem Ruby's processing efficiency? Version 1.9 is
fairly new, so I'm guessing RPGMaker had to be using 1.8 or lower, which
is the old engine.
The bottom line is would there be any negative impact if I were to embed
a Ruby 1.9.1 scripting engine in my game, in contrast to Lua?