There are lots of languages out there. Here is how Lua compares with some of them.
One-to-one
Lisp/Scheme
A LuaVersusScheme?/Lisp page might be added. The [Metalua Manual] provides some contrasts between Lua and Scheme: "Basically, Lua could be thought of as Scheme, with: a conventional syntax (similar to Pascal's or Ruby's); the associative table as basic datatype instead of the list; no full continuations (although coroutines are actually one-shot semi-continuations); no macro system." Metalua brings a macro system into Lua for compile-time metaprogramming (CTMP). There is a preliminary implementation of [Lisp in Lua].
For those comfortable with Scheme, Guile may be a better solution. Lua has a bent towards scripting and configuration by "non-programmers", where infix syntax may be more appealing. Lua is also often used as a stand-alone language, which in the Scheme world is more the domain of scsh than Guile. Guile is significantly larger than Lua.
Forth/FLISL
Another possible way is FLISL (Forth Like Interpreted Scripting Language). Possibly add a LuaVersusForth? page? Or implement FLISL in Lua?
Objective C
See also ObjectiveLua[1] - [6][2].
Neko
Falcon
Broad view
Benchmarks
- [Game Scripting Languages] is a page with benchmarks for game scripting languages (Lua, AngelScript?, GameMonkey?, Pawn, and Squirrel).
- [Experiments with Scripting and User-Interface Language] is a paper by Kernighan and Van Wyk that benchmarks several scripting languages. An [implementation] (link broken) of these benchmarks in Lua is available.
- [The Computer Language
Benchmarks Game] (an updated version of Doug Bagley's original The Great Computer Language Shootout [3]) is an ongoing benchmark of many languages, including Lua. A Windows version [4] is also available.
- [Fractal Benchmark] - this comparision focuses on a program to compute the Mandelbrot set in several languages including Ruby, Io, PHP, Python, Lua, Java, Haskell, and Plain C.
Language comparisons
See also
- LuaLinks - a hand-edited list of useful Lua links
FindPage · RecentChanges · preferences
edit · history
Last edited June 25, 2010 5:51 am GMT (diff)