Ruby vs Lua as scripting language for C++

Posted by bl00dshooter on Stack Overflow See other posts from Stack Overflow or by bl00dshooter
Published on 2011-03-16T15:11:24Z Indexed on 2011/03/16 16:10 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

I am currently building a game server (not an engine), and I want it to be extendable, like a plugin system.
The solution I found is to use a scripting language. So far, so good.

I'm not sure if I should use Ruby or Lua. Lua is easier to embed, but Ruby has a larger library, and better syntax (in my opinion). The problem is, there is no easy way I found to use Ruby as scripting language with C++, whereas it's very easy with Lua.

Toughs about this? Suggestions for using Ruby as scripting language (I tried SWIG, but it isn't nearly as neat as using Lua)?

Thanks.

© Stack Overflow or respective owner

Related posts about c++

Related posts about ruby