[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Incompatibility of lua5.1.dll (from Lua Binaries) and Delphi
- From: Shmuel Zeigerman <shmuz@...>
- Date: Thu, 19 Mar 2009 12:55:41 +0200
Mike Pall wrote:
Lua is not at fault here. The Borland/Delphi runtime modifies the
FPU control word and enables FP exceptions. This violates the
Windows ABI and causes plenty of interoperability problems:
Though formally it's not Lua's fault, in practice it leads to problems.
Are the benefits of using those 2 assembly instructions (yet another
piece of non ANSI C) big enough to justify fighting with compatibility
Is there a benchmark showing noticeable gain in performance of this
piece versus the other ("non-Microsoft") variant of lua_number2integer,
or maybe this was introduced to avoid issues with DirectX?