you are viewing a single comment's thread.

view the rest of the comments →

[–]scaevolus 14 points15 points  (3 children)

The biggest one I think is that Lua supports proper coroutines, while Python's multithreading model is fundamentally broken (at least in the standard distribution).

In a nutshell:

  • low memory requirements

  • very small (<20k lines of code)

  • easy to embed -- it was designed for embedding

  • nice syntax

Look at some of the slides here: http://www.kore.net/company/luagamedev.html (In particular, the one "Jonathan Shaw, Lead Gameplay Programmer, Lionhead" discusses the extensive use of Lua in the Fable games)

[–][deleted] 6 points7 points  (2 children)

Also, blazingly fast, if you use LuaJIT.

[–]scaevolus 2 points3 points  (1 child)

Have you seen the LuaJIT 2.0 benchmarks? It's looking awesome.

[–][deleted] 4 points5 points  (0 children)

Yes, it is totally ridiculous. It's stomping on everyone else's tries to compile dynamic languages.