lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Tony Finch <dot@dotat.at> writes:

> David Kastrup <dak@gnu.org> wrote:
>>
>> You need good garbage collection.  Having a bad garbage collector and
>> hoping it will not show too much is not a good option for dynamic
>> languages with or without continuations.
>
> I think you should look at the relative frequency of table allocation,
> closure allocation, and function calls in typical Lua code.
>
> Most dynamic languages have crappy garbage collectors.

Since you are objecting to continuations in Lua rather than some
hypothetical dynamic language, your argument would apply when you
consider Lua's garbage collector crappy.  What particular performance
degradation do you expect from it?

-- 
David Kastrup