[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is Lua object code portable between platforms?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 24 Apr 2000 16:50:46 -0300 (EST)
>From: "John Passaniti" <jmp@pt.com>
>
>Thanks for the quick reply. I guess I completely missed that statement in
>the documentation. Sorry!
>
>Not to be a pest, but I assume this means that not only is the object code
>portable, but numeric representation is as well. If I have the Lua
>statement...
>
> x = 3.14
>
>..then I assume I don't have to worry about potentially different floating
>point representations?
Right. The same man page says:
"By default, numbers are saved in text form, for maximum portability."
The man page is also available in the distribution in lua/doc/luac.man and
lua/doc/luac.html.
>By the way, thanks to you and the others for creating Lua! It's a very
>nice little language, and packs quite a lot of power without a big
>footprint. I was at first afraid to embed it in our application (an
>Ethernet switch product), but seeing where else Lua is being used, and
>actually playing with it convinced me this is a fine language for scripting
>our application.
Thanks for the compliments.
Please consider sending an entry describing your project.
See http://www.tecgraf.puc-rio.br/lua/uses-form.html .
Also, if you're using Lua in embedded systems, you may want to read
Technical Note 1 - Minimal Lua installations
http://www.tecgraf.puc-rio.br/lua/notes/ltn001.html
for tips on how to create very small Lua installations.
--lhf