Linked by Thom Holwerda on Fri 7th Sep 2007 13:34 UTC, submitted by anonymous
General Development "Lua is a powerful, light-weight programming language designed for extending applications. Coupled with it being relatively fast and having a very lenient license, it has gained a following among game developers for providing a viable scripting interface. It has been used in games such as World of Warcraft and Far Cry, and in applications such as Adobe Photoshop Lightroom and Snort."
Thread beginning with comment 269741
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Why shuld I learn Lua?
by JohnMG on Sat 8th Sep 2007 03:19 UTC in reply to "Why shuld I learn Lua?"
JohnMG
Member since:
2005-07-06

> So why LUA?

That's a very good question. Picture this: you write a fairly large program in C. You like C. Compiled C code is *very* fast. Some friends advised you not to use C. They told you to just use Perl/Python/Ruby/Lisp/whatever. You said no. Now you find that it would actually be quite helpful if you could script your app...

So, you've got your pick of scripting languages you can embed. Really, you only have the most basic of needs. Nothing fancy.

Now, do you go with a tiny and simple scripting language, one that you can pick up quickly (and that you're hoping your users can pick up quickly)? Or do you jam a full-blown general programming language, standard library and all, into your app? If you were a Perler/Pythoneer/Rubyist/Smug-Lisp-weenie, you would've just written your app in that language from the beginning, right? ;)

So, it looks like there's a market for Lua. As long as people keep writing fairly large apps in C and C++. ;)

Edited 2007-09-08 03:19

Reply Parent Score: 5

RE[2]: Why shuld I learn Lua?
by rayiner on Sat 8th Sep 2007 06:32 in reply to "RE: Why shuld I learn Lua?"
rayiner Member since:
2005-07-06

Your point is well-taken, but I found this particular bit funny:

you write a fairly large program in C... They told you to just use Perl/Python/Ruby/Lisp/whatever. You said no. Now you find that it would actually be quite helpful if you could script your app...

It reminds me of the joke "A programmer has a problem. He decides to solve it with a program written in Perl. Now he has two problems."

Reply Parent Score: 3