[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Microlight (was Re: paving cowpaths with libraries)
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 20 Feb 2012 09:00:16 +0200
On Mon, Feb 20, 2012 at 12:45 AM, Jay Carlson <nop@nop.com> wrote:
> Casual module loading scares me.
For _programs_, it's bad practice. For interactive work and the
proverbial 'useful little script' it's a strategy. Ditto for
monkey-patching tostring. The str/repl distinction is probably more
important than I think.
> I'll idly note that "return f(unpack(imap(g, {...})))" seems to pop up
> now and then and has an efficient C implementation not available in
> Lua--you mutate the stack in-place,
Xavier has proposed a set of C-level functions operating on argument
lists. A good case for C, I think.
steve d.