View Single Post
Old 01-22-2006, 02:18 AM   #5
Keldar
New Member
 
Join Date: Sep 2002
Posts: 13
Keldar is on a distinguished road
Lua is a "scripting" language, which is very different from languages like C/C++. Most MUDs are coded in the latter two (well, mostly C probably). Lua itself is coded in C actually.

As Hajamin said, C/C++ are fairly complex because they force you to deal with many not so trivial things, like memory management and data types. Languages like Lua hide all those gory details from you and allow you to concentrate on what you actually want to make the computer do. Therefore, if you don't have any programming experience whatsoever then Lua is a good choice, especially if you have an environment where you can use it for solving practical problems (like scripting in Mushclient), which is much better than going through textbook examples. The skills you pick up in Lua can later be applied to C, once you are comfortable enough with programming in general. In fact, since you can code Lua itself in C, after some time you could try writing Lua extensions in C, which is a fairly simple and well documented process, and learn at least beginning C that way. Again - in a practical and comfortable environment.
Keldar is offline   Reply With Quote