Lua Comparison

lua-users home
wiki

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

Language comparisons

See also


FindPage · RecentChanges · preferences
edit · history
Last edited June 25, 2010 5:51 am GMT (diff)