Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualNetrickPL

Posted 13 February 2013 - 08:34 AM

I'm currently making an RPG and everything is going great, I've been working on it for 6 months and I came to point where I need script language for easy writing quests, ai and configuring gui. I don't have time to write a big editor which would allow to create quests etc without scripting.

 

However, I'm stuck between Lua and Squirrel. Lua is much more used in the industry, but squirrel has nicer syntax to me (c++ like). Both have good c++ binders, oolua and sqrat. Both languages are wery well maintaned, but on the binder side, I found that almost all squirrel binders are abandoned (for version 2 only and now there is 3). Only sqrat is updated for 3, but still it's not that actively maintaned and I'm not sure about it. Lua has a lot of active binding tools.

 

On the other hand, I heard that lua garbage collection is very bad in terms of performance and it can slow down my application every 30-60 sec. And I need good performance all the time without slow downs. Actually one of the reasons why squirrel was made was to fix the lua garbage collection. However, in lua 5.2 they changed something with garbage collector, but many people say that it is still bad...

 

Based on your experience and knowledge, which language should I choose? I really don't know. If you know a language better than these 2, tell me about it.


#2NetrickPL

Posted 13 February 2013 - 08:34 AM

I'm currently making an RPG and everything is going great, I've been working on it for 6 months and I came to point where I need script language for easy writing quests, ai and configuring gui. I don't have time to write a big editor which would allow to create quests etc without scripting.

 

However, I'm stuck between Lua and Squirrel. Lua is much more used in the industry, but squirrel has nicer syntax to me (c++ like). Both have good c++ binders, oolua and sqrat. Both languages are wery well maintaned, but on the binder side, I found that almost all squirrel binders are abandoned (for version 2 only and now there is 3). Only sqrat is updated for 3, but still it's not that actively maintaned and I'm not sure about it. Lua has a lot of active binding tools.

 

On the other hand, I heard that lua garbage collection is very bad in terms of performance and it can slow down my application every 30-60 sec. And I need good performance all the time without slow downs. Actually one of the reasons why squirrel was made was to fix the lua garbage collection. However, in lua 5.2 they changed something with garbage collector, but many people say that it is still bad...

Based on your experience and knowledge, which language should I choose? I really don't know. If you know a language better than these 2, tell me about it.


#1NetrickPL

Posted 13 February 2013 - 08:33 AM

I'm currently making an RPG and everything is going great, I've been working on it for 6 months and I came to point where I need script language for easy writing quests, ai and configuring gui. I don't have time to write a big editor which would allow to create quests etc without scripting.

However, I'm stuck between Lua and Squirrel. Lua is much more used in the industry, but squirrel has nicer syntax to me (c++ like). Both have good c++ binders, oolua and sqrat. Both languages are wery well maintaned, but on the binder side, I found that almost all squirrel binders are abandoned (for version 2 only and now there is 3). Only sqrat is updated for 3, but still it's not that actively maintaned and I'm not sure about it. Lua has a lot of active binding tools.

On the other hand, I heard that lua garbage collection is very bad in terms of performance and it can slow down my application every 30-60 sec. And I need good performance all the time without slow downs. Actually one of the reasons why squirrel was made was to fix the lua garbage collection. However, in lua 5.2 they changed something with garbage collector, but many people say that it is still bad...

Based on your experience and knowledge, which language should I choose? I really don't know. If you know a language better than these 2, tell me about it.


PARTNERS