News for hackers. Stuff that matters.
Re:Tiobe: Lua enters the top 10 for the first time in history by jbk on Monday June 06, 2011 @07:44PM (#2627271)
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...

Re:Tiobe: Lua enters the top 10 for the first time in history by palish on Monday June 06, 2011 @08:19PM (#2627371)
Use LuaRocks. 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.

Re:Tiobe: Lua enters the top 10 for the first time in history by jbk on Monday June 06, 2011 @09:07PM (#2627470)
Great 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?
Re:Tiobe: Lua enters the top 10 for the first time in history by palish on Monday June 06, 2011 @11:37PM (#2627792)
Eh, 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.
Re:Tiobe: Lua enters the top 10 for the first time in history by jbk on Tuesday June 07, 2011 @03:43AM (#2628257)
JSON 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.

Re:Tiobe: Lua enters the top 10 for the first time in history by pyre on Monday June 06, 2011 @09:45PM (#2627562)
Probably by testing them all out. Though it would probably help if there were more reviews of the options out there.
Re:Tiobe: Lua enters the top 10 for the first time in history by jbk on Tuesday June 07, 2011 @03:42AM (#2628255)
That 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.

Re:Tiobe: Lua enters the top 10 for the first time in history by chrisaycock on Monday June 06, 2011 @07:41PM (#2627252)
On StackOverflow, Lua has barely 1.1K questions, while JavaScript has over 100K questions. As a point of comparison, Clojure has 1.6K. The Tiobe method seems flawed.

http://stackoverflow.com/tags

Re:Tiobe: Lua enters the top 10 for the first time in history by minimax on Monday June 06, 2011 @09:02PM (#2627460)
The index is basically defined as Google for "<language> programming" then massage the numbers via hand waving and "false positive detection." It's a silly way to measure programming language popularity given all the possible alternatives.

My guess is that their "false positive detection" is penalizing Javascript more than anything. I can understand Lua being #10, but Javascript being #11 is preposterous.

Re:Tiobe: Lua enters the top 10 for the first time in history by wmobit on Monday June 06, 2011 @08:29PM (#2627391)
Perhaps the people using JavaScript are the more likely the kinds of people to go asking more questions.
Re:Tiobe: Lua enters the top 10 for the first time in history by w1ntermute on Monday June 06, 2011 @08:58PM (#2627454)
Or JavaScript is the kind of language that requires a lot of question-asking to accomplish anything significant (poor language design/documentation).
Re:Tiobe: Lua enters the top 10 for the first time in history by anonymoushn on Monday June 06, 2011 @09:05PM (#2627465)
I'm not sure that I would frame it that way, but I think that is more or less correct. Lua is such a small language that you generally don't need to ask questions before you do stuff.
Re:Tiobe: Lua enters the top 10 for the first time in history by figital on Monday June 06, 2011 @06:02PM (#2626902)
In a perfect world I'd have the power to downvote links to articles regarding "tiobe".
Re:Tiobe: Lua enters the top 10 for the first time in history by va_coder on Monday June 06, 2011 @05:57PM (#2626884)
More people use Lua than Javascript? lol
Re:Tiobe: Lua enters the top 10 for the first time in history by Impossible on Monday June 06, 2011 @06:54PM (#2627116)
This seemed strange to me also. Lua shot way up and is currently right ahead of Javascript and right below Perl and Python. TIOBE attributes it to iPhone apps, which is probably helping but still wouldn't put it past Javascript. A lot of people write Lua scripts for World of Warcraft UI mods but WoW has been around forever and is actually waning in popularity, not rising. Maybe its the hype around LuaJIT being the dynamic scripting language the best performance?
Re:Tiobe: Lua enters the top 10 for the first time in history by d0m on Monday June 06, 2011 @07:07PM (#2627142)
I think there are more Website containing javascript than any WoW plugins.
Re:Tiobe: Lua enters the top 10 for the first time in history by Impossible on Monday June 06, 2011 @07:15PM (#2627159)
Oh yeah, there definitely are by a far margin. I'm just grasping for straws trying to figure out why Lua would have jumped so much. I know TIOBE isn't the end all be all of programming language usage or popularity but something had to cause Lua to jump so high in their rankings in the last year.
Re:Tiobe: Lua enters the top 10 for the first time in history by bendmorris on Monday June 06, 2011 @09:43PM (#2627559)
And yet Haskell is still #44, below some rather obscure languages (I'm looking at you, Alice and Q). There are serious flaws in Tiobe's methodology.
Re:Tiobe: Lua enters the top 10 for the first time in history by acangiano on Monday June 06, 2011 @07:23PM (#2627184)
Not even close: http://langpop.com/
Re:Tiobe: Lua enters the top 10 for the first time in history by xinuc on Monday June 06, 2011 @10:38PM (#2627676)
this seems like a better ranking
Re:Tiobe: Lua enters the top 10 for the first time in history by Twisol on Monday June 06, 2011 @06:22PM (#2626997)
I wonder how much of the increase can be attributed to Redis' Lua scripting.
Re:Tiobe: Lua enters the top 10 for the first time in history by Raphael_Amiard on Monday June 06, 2011 @06:49PM (#2627098)
i would say, not a lot. The fact that you think this is a big use of lua just speaks about what kind of programming environnement you are in.
Re:Tiobe: Lua enters the top 10 for the first time in history by Twisol on Tuesday June 07, 2011 @02:18AM (#2628117)
Where did that come from? I never said I thought it was a big use. In fact I've never used Redis, but I'm an avid user of Lua and I was glad to see Redis adopt it.

Since Redis is so popular, is it wrong to suppose it was at least partially responsible?

Re:Tiobe: Lua enters the top 10 for the first time in history by kephra on Monday June 06, 2011 @08:31PM (#2627397)
I was mainly confused of http://www.tiobe.com/content/paperinfo/tpci/images/tpci_tren... when I posting this link. Looking at Lua in the graphic it looks like a typical exponential hype started in early 2011.

I'm using Lua myself, wondering - did I missed a hype?

Re:Tiobe: Lua enters the top 10 for the first time in history by anonymoushn on Monday June 06, 2011 @09:08PM (#2627471)
I also haven't heard anything about this.
Re:Tiobe: Lua enters the top 10 for the first time in history by dons on Monday June 06, 2011 @08:56PM (#2627451)
Re:Tiobe: Lua enters the top 10 for the first time in history by ruethewhirled on Monday June 06, 2011 @06:55PM (#2627117)
Javascript seems pretty low on that list..
Re:Tiobe: Lua enters the top 10 for the first time in history by dimmuborgir on Tuesday June 07, 2011 @03:04AM (#2628192)
Tiobe index is the single biggest source of language holy wars.

Don't know why it is so highly regarded.