lua-users home
lua-l archive

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


José dos Santos Machado wrote:
We've just release Lua For PalmOS alpha 2. You can download/see it at
http://sourceforge.net/projects/luapalmos.

Good, if even I have a PalmOS thingie, I will remember this :-)

Bad Things:
	- PalmOS MathLib does not have a rand() or srand() function. If you have
one, MIT licesend, please send to us, so we can add it to the port.

I believe the Meresnne Twister <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html> was implemented in Lua or in C with Lua interface. Maybe this is an overkill for the PalmOS (I don't know if the implementation is really big or slow or memory hungry. They say it is as fast as rand(), and consumes 624 words of workplace, probably because it generates 624 numbers at each iteration) but it is a robust random number generator, and now with a very liberal licence <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/elicense.html> (basically: you can do anything with it. Elsewhere, they say it is a BSD-like licence).

--
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://Phi.Lho.free.fr
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--