lua-users home
lua-l archive

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


Exactly the problems we've had at the time with Lua 4 and 5. Direct
Sound may practically be less of an issue because it tends to run in its
own thread and Lua tends to be used from the main thread. So, FPU state
changed by the DS is not visible to the main thread because of the
thread context switch. On other project I used Lua strings to store 32
bit integers in hex format a la "0xDEADBEEF" - a bit slower by the speed
was not an issue for me.

Alex

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Wim Couwenberg
Sent: Saturday, May 27, 2006 3:35 AM
To: Lua list
Subject: Re: D3DCREATE_FPU_PRESERVE


> D3D is the only
> component that I know of that interferes with Lua - or that Lua 
> interferes with, if you work for Microsoft....

Unfortunately, there are more...  And the problem is not restricted to
the fpu precision mode either.  See

    http://lua-users.org/lists/lua-l/2006-03/msg00434.html

for some more info.

--
Wim