What Can't Lua Do? Benefits & Limitations

  • Thread starter Thread starter Blackwinter
  • Start date Start date
Click For Summary
Lua is a versatile language particularly suited for game and app development, often used for scripting within larger applications. Its primary limitations include being an interpreted language, which can lead to slower performance compared to compiled languages, and having less extensive library support than some other languages. Lua excels in environments where it can be embedded, such as in game engines like Crytek or Havok, allowing for modding and customization. For beginners, starting with simple projects, such as text-based games like "Rock Paper Scissors" or TicTacToe, is recommended to build foundational skills. Utilizing resources like "Programming in Lua" can provide a solid starting point, and employing version control systems like BitBucket is advised for managing code.
Blackwinter
Messages
22
Reaction score
0
I am interested in learning Lua for game development, app development. I was wondering, what are it's limitations? what do other languages have that Lua doesn't? Perhaps you could list common programming applications and which language is perhaps best suited for those certain applications.

Thank you.
 
Technology news on Phys.org
Blackwinter said:
I am interested in learning Lua for game development, app development. I was wondering, what are it's limitations? what do other languages have that Lua doesn't? Perhaps you could list common programming applications and which language is perhaps best suited for those certain applications.

Thank you.

The largest difference between languages usually comes down to two basic things:
1. Compiled languages vs interpreted languages.
2. Library support.

Generally, Lua was designed to run inside of other applications. For example, world of warcraft was probably written in C or C++; however, it allows gamers to create mods using LUA.
 
I want to learn Lua for game development.

As the title suggests, I would like to learn Lua and program games.

I am new to programming, so is it inappropriate to learn Lua first? I would like to start making simplistic games and eventually learn Lua for game engines like the Crytech or havok.

So any advice pertaining to an appropriate learning trajectory will be greatly appreciated.
 
Reading the "Programming in Lua" book seems like a good way to start.
http://www.lua.org/pil/contents.html

My best advice for game programming is start small and work your way up and no matter what make sure you finish what you start.

So as a first game I'd set a goal to make something like "Rock Paper Scissors" then just work your way up from there. Try TicTacToe next. Do them as text games first and then as you get more comfortable start making them graphical.

Also, save everything you write in some kind of online source control system like BitBucket.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 133 ·
5
Replies
133
Views
10K
Replies
16
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 86 ·
3
Replies
86
Views
12K
  • · Replies 58 ·
2
Replies
58
Views
4K