[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Making lua execution results reproducible across architectures
- From: hollyrosella@...
- Date: Wed, 14 Dec 2011 21:26:18 +0000
Can you explain the potential indeterminancy with the length operator a bit more, please?
The other functions you mention won't be available in the section which needs to be reproducible, but thanks for pointing them out. (There will be a RNG, but it will be custom, and seeded from the input.)
On 12/14/2011 at 9:02 PM, Patrick Rapin <firstname.lastname@example.org> wrote:
There are also obviously a number of library functions which are non
Most of them are in the "os" table.
Notably, os.clock(), os.date() and os.time() are guaranteed to change
And os.execute and os.getenv heavily depend on the environment.
The "io" library is not completely deterministic neither (io.popen
And I have serious doubts about collectgarbage(), package library,
math.random() and debug library.
Not to mention the # operator on tables not being sequences !