4 ms·
Although I believe this to be over-valued, we use lua in VLC for writing extensions, and so far, we are quite pleased. It is fast, simple, close to the C or C+
by jbk 15y ago
Although I believe this to be over-valued, we use lua in VLC for writing extensions, and so far, we are quite pleased.
It is fast, simple, close to the C or C++, quite portable and quite portable. I just wished they had a set of official extensions, like for xml or json parsing; because now they are a few competing around...
- palish 15y agoUse LuaRocks. http://luarocks.org/repositories/rocks/ http://luarocks.org/repositories/rocks/ Very easy to use, and has a lot of modules. lua-xmlreader is the one that I used for a project. It's a wrapper over libxml2.
- jbk 15y agoGreat to know, thx, but that shows exactly what one issue is: there are at least 5 json modules... How are people supposed to know which one to pick?
- pyre 15y agoProbably by testing them all out. Though it would probably help if there were more reviews of the options out there.
- jbk 15y agoThat is indeed what we did. My above point (mis-interpreted, since I got voted down) is that an official set of extensions approved the core lua team would help quite a bit in those choices.
- palish 15y agoEh, just pick one. I actually did use a lua JSON module, but I forgot which one. It had a simple interface, though. They probably all do.
- jbk 15y agoJSON was just an example. The point is that it would be welcome to have a sanctioned list of common extensions (xml, json, oauth...) from the core team.