Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Implementing Lua (or another embeddable language) into XBMC's C/C++ code

$
0
0
I'm not a fully fledged programmer, but I've been looking into learning C++ and a while back I discovered that it's possible to implement Lua code into the C++ code.
Some of the benefits of doing this that I've read about are the following:

-Easy to compile on the fly
-Short learning curve, so more people can help modify XBMC to improve it

I also compared it to Python, and I found the following:

-Smaller footprint than Python
-Uses less memory
-Faster interpreter

However, while comparing Python to Lua I discovered that they both have their good points. Lua uses less memory, and Python has an extremely high-performance numeric computing. So I was thinking that Lua could be used where the priority is memory conservation, and Python could be used where power is the priority.

Anyways, I'd really like some feedback on this. And I'm open for suggestions on a language that is better than either Lua or Python.

Sources:
http://en.wikipedia.org/wiki/Lua_(programming_language)
http://www.lua.org/about.html
http://lua-users.org/wiki/LuaVersusPython

------------------------------------------------------------------------
Update 12/7/12

I searched the internet a little more and found two other alternatives; IO and AngelScript. I have absolutely no knowledge of them, but I'm bringing them up just in case someone here is familiar with one of them.

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>