[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Making lua execution results reproducible across architectures
- From: Patrick Rapin <toupie300@...>
- Date: Wed, 14 Dec 2011 22:00:56 +0100
There are also obviously a number of library functions which are non
deterministic.
Most of them are in the "os" table.
Notably, os.clock(), os.date() and os.time() are guaranteed to change
over time...
And os.execute and os.getenv heavily depend on the environment.
The "io" library is not completely deterministic neither (io.popen
particularly).
And I have serious doubts about collectgarbage(), package library,
math.random() and debug library.
Not to mention the # operator on tables not being sequences !