On Tue, 2012-03-20 at 20:26 +0100, Hans Hagen wrote:
> well you can try what happens if you run stock lua:
> 
> local t = { }
> while true do
>      t[#t+1] = "just a bogus string: " .. (#t+1)
> end
> 
> at some point your system will run out of (virtual) memory or lua will 
> run out of whatever its limits are

Of course. And the same could be done in C, C++, or really any language
that supports dynamic memory allocation. We just hope that programs that
are built from them won't do that.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to