Re: Tcl vs. Lua



In article <43b4665b$0$5074$e4fe514c@xxxxxxxxxxxxxxxxxxxxxxxx>,
Lisa Pearlson <no@xxxxxxxx> wrote:
.
.
.
>Lua also seems to allow easy integration with C/C++ and extensible.. how is
>this different from a tcl 'stub' ?
.
.
.
Lua is tops for "easy integration with C/C++". Tcl is almost
as simple. Tcl, as it happens, offers at least a half-dozen
distinct idioms for Tcl-C co-operation. One of these is
called, "stubs". Lua lacks stubs, to the best of my knowledge
(although only straightforward if tedious effort lies in the
way of someone who wants to endow Lua with stubs).
.



Relevant Pages

  • Re: wheres Tcl?
    ... Here's how I do it on windows. ... I have an IRC client that uses Tcl not only as its user scripting language for IRC ... Picking a different core to load byway of the Stubs linkage of the executable is ... it will require logic for discovering and loading a Tcl core on the ...
    (comp.lang.tcl)
  • Re: How can I tell when a Tcl extension is providing stubs support?
    ... > With the increasing role that tclkit/starpack is playing within the Tcl ... > so that users can make quicker use of extensions within Starpacks/Starkits. ... Supporting stubs has multiple meanings - you can be stubs enable ...
    (comp.lang.tcl)
  • Re: Tcl vs. Lua
    ... Tcl, as it happens, offers at least a half-dozen ... "stubs". ... Lua lacks stubs, to the best of my knowledge ... Actually stubbing an API isn't very hard; you use automated tools to do most of the maintenance after all. ...
    (comp.lang.tcl)
  • Re: How to cope with version conflicts?
    ... In order to use an extension across releases with 100% confidence, ... able to build a version without stubs support. ... function since Tcl 8.5. ...
    (comp.lang.tcl)
  • Re: Dr. Dobbs Tcl-URL! - weekly Tcl news and links (Jan 5)
    ... > I know stubs is something I need to specify in my project settings ... > using the Tcl / C interface but thats about it. ... core without being bound to a specific version of the core in a ... component in Tcl/Tk's long-term commitment to binary compatability. ...
    (comp.lang.tcl)