Hacker News new | past | comments | ask | show | jobs | submit login

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.



Lua 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.


Oh, 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.


you apply the bit operator patch to get this.


You do not apply bit operator patch, you do use bitop library.


You can use SWIG with Lua.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: