Samstag, 22. Januar 2011

Python vs. LUA

Hey guys,

It has been some time since my last post here, but here I am, back with some brand new information. Well, I'm just human and can't be at home, blogging all day long ;)

Ok let us begin. The first thing to say is, that we finally started working on our project, the "Phenomena-Project". On GitHub you can find the latest changes of our Work. There isn't much code at the moment at all, but it starts spreading bigger each day. If you're interested you might have seen some information about what techniques the game uses. For those who don't: Phenomena is going to use the SDL(Simple DirectMedia Layer) and OpenGL. This combination provides the opportunity to play Phenomena on Windows and Linux systems without making great changes in the code. Another feature wich can be found in the code: Phenomena uses LUA.

For those who read the earlier blog entries, you should remember that I minded python somewhere. But why the change to LUA? This question can be answered simple: LUA is the better script language for our purpose. To understand the reasons for this decision, here some points comparing LUA with Python.

Python:
  • Great amount of functions, a big library provided
  • Used as independently working script language
  • More complicated implementation into c++
LUA:
  •  Small standart library
  • Fast
  • Easy implementation
As you see, LUA is fast and small. It's the better choice for games that need only a small scripting engine. But if you want to write purely scripting code, chose Python. The library of functions provided is very big.

Another blog entry comes to its end, and theres just one last thing to say...
Keep Reading,

Your Mastermind ;)

Keine Kommentare:

Kommentar veröffentlichen