Lua Comparison

lua-users home
wiki

On this wiki

There are lots of languages out there. Here is how Lua compares with some of them.

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].

Forth/FLISL

Another possible way is FLISL (Forth Like Interpreted Scripting Language). Possibly add a LuaVersusForth? page? Or implement FLISL in Lua?

Other sites

See "Why choose Lua?"[1] on the Lua main site. The Great Computer Language Shootout [2][3] is a benchmark of scripting languages, including Lua. A Windows version [4] is also available. Experiments with Scripting and User-Interface Language [5] is a paper by Kernighan and Van Wyk that benchmarks several scripting languages. An implementation [6] of these benchmarks in Lua is available.

See also Andreas' practical language comparison [7].

A recent comparision focuses on a program to compute the Mandelbrot set in several languages [8].


FindPage · RecentChanges · preferences
edit · history
Last edited July 29, 2008 7:08 am GMT (diff)