5 ms·
I started using Lua as an embedded scripting language to drive a pretty complicated process. After a few weeks, i ended up switching to Python. The Lua librarie
by punster 17y ago
I started using Lua as an embedded scripting language to drive a pretty complicated process. After a few weeks, i ended up switching to Python. The Lua libraries were pretty weak, the datastructures and builtin functions were wierd and inconsistent, and swig+python made for much faster scripting then exposing c interfaces to lua.
- punster 17y agoOh, and the lack of an integer type seemed to make it really difficult to do proper bit shifting--i'd expect this to be the bread and butter of an embedded scripting language.
- gnosis 17y agoYou can use SWIG with Lua.
- agladysh 17y agoLua data structures and builtin functions are ones of the most consistent sort I've seen around — if you get the whole picture. They are just a bit unorthodoxal.