[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lightweight syntax: a dissident view
- From: David Kastrup <dak@...>
- Date: Sun, 28 Nov 2010 09:14:14 +0100
Tony Finch <dot@dotat.at> writes:
> On 27 Nov 2010, at 20:37, David Kastrup <dak@gnu.org> wrote:
>>
>> The Lua approach would be to _make_ functions tables. Then one need not
>> worry about one being supported differently from the other.
>
> I think Lua is more pragmatic than that. There are important
> differences in efficiency between functions and tables:
There are also important differences in efficiency between arrays,
structures, lists, hashes.
To the degree where the Lua implementation has an array part in its
tables. But the point is that this has been made transparent to the
language.
--
David Kastrup
- References:
- Re: Lightweight syntax: a dissident view, Philippe Lhoste
- Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
- Re: Lightweight syntax: a dissident view, Mark Hamburg
- Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
- Re: Lightweight syntax: a dissident view, Pierre-Yves Gérardy
- Re: Lightweight syntax: a dissident view, Axel Kittenberger
- Re: Lightweight syntax: a dissident view, steve donovan
- Re: Lightweight syntax: a dissident view, phlnc8
- Re: Lightweight syntax: a dissident view, Doug Lua
- Re: Lightweight syntax: a dissident view, Dirk Laurie
- Re: Lightweight syntax: a dissident view, Luis Carvalho
- Re: Lightweight syntax: a dissident view, Mark Hamburg
- Re: Lightweight syntax: a dissident view, David Kastrup
- Re: Lightweight syntax: a dissident view, Tony Finch