Re: Tcl vs. Lua



Thank you.. This was very helpful.. it tells me I shouldn't bother with Lua,
... or do I?
They say it's used a lot for "Games programming". What makes it suitable for
games programming, other than it's cross platform features? Doesn't cross
platform usually means it can't take advantage of hardware specifics?

The way I heard about Lua was when I was looking for a "Setup Wizard" type
program to create installers for my own software, like Install Shield, Wise,
etc. I came across one that featured embedded "Lua scripting" to do install
operations.
But wouldn't TCL be much more suitable for this? I sure thing so.

It seems Lua's strengths is smaller footprint and better performance than
TCL. And they said it runs on mobile devices too. TCL is too slow for mobile
devices, I was told on here.

Lua also seems to allow easy integration with C/C++ and extensible.. how is
this different from a tcl 'stub' ?

One thing that appeals a bit to me about Lua, is that it comes with a
'compiler' that turns script code into bytecode. No such free meal with TCL
(though I heard ActiveState has a commercial solution).

Lisa

"Cameron Laird" <claird@xxxxxxxxx> wrote in message
news:7g4d83-fs9.ln1@xxxxxxxxxxxx
> In article <1135859377.142907.11560@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> Lisa Pearlson <reageer@xxxxxxxxx> wrote:
>>Coincidentally I came across Lua ( http://lua.org ).
>>Seems their goals, portability, embeddability, extendability, are
>>similar to Tcl.
>>Just like Tcl, I had never heard of Lua, but they claim it to be
>>simple, fast, etc.
>>
>>So, I can't help wonder how Tcl compares to Lua.
>>Does anyone here know Lua? I'm sure each has their strengths and
>>weaknesses. I'm only interested in what are Tcl's advantages over Lua.
>>
>>Lisa
>>
>
> Tcl constitutes a far richer programming environment.
> Lua is more minimal in its run-time impact.
>
> Tcl supports Unicode and regular expressions more fully
> than Lua.
>
> Tcl has Starpacks, stubs, and so on.
>
> Tcl/Tk is ahead of TkLua.
>
> There are more Tcl books.
>
> Some prefer EIAS to the impressive mileage Lua gets out
> of dictionary-based metaprogramming.
>
> Lua's a wonderful language. It also remains a niche
> language. Tcl comes much closer to universality.


.



Relevant Pages

  • Re: Tcl vs. Lua
    ... it tells me I shouldn't bother with Lua, ... So is Tcl, ... I came across one that featured embedded "Lua scripting" to do install ... And they said it runs on mobile devices too. ...
    (comp.lang.tcl)
  • Re: Tcl vs. Lua
    ... >Seems their goals, portability, embeddability, extendability, are ... >similar to Tcl. ... I can't help wonder how Tcl compares to Lua. ... Lua's a wonderful language. ...
    (comp.lang.tcl)
  • Re: Tcl vs. Lua
    ... Seems their goals, portability, embeddability, extendability, are similar to Tcl. ... Just like Tcl, I had never heard of Lua, but they claim it to be simple, fast, etc. ... Lua's a wonderful language. ...
    (comp.lang.tcl)
  • Re: Tcl vs. Lua
    ... >>similar to Tcl. ... I can't help wonder how Tcl compares to Lua. ... > Some prefer EIAS to the impressive mileage Lua gets out ... > Lua's a wonderful language. ...
    (comp.lang.tcl)
  • Re: New IE flaw and exploit sites/migration to non-MS browser
    ... There are already many third party LUA community web sites that are telling folks how to rip out the UAC settings in Vista. ... We have to get the rights off the desktops so that folks can't have the ability to willy nily install stuff. ... you compare the level of awareness about LUA in the Windows ...
    (Focus-Microsoft)