Quexal
offers great support to Delphi developers: the MMX and SSE bytecode compilers
translate the source code directly in machine code that is supported by
Delphi's inline assembler. With Quexal you can develop complex images processing
or audio/video applications in the comfortable Delphi RAD environment,
with the performance boost given by MMX and
SSE
instructions. Now you can choose Delphi instead of traditionally performance-focused
languages such as C!
Quexal itself is written in Delphi!
The following tools and libraries were
used to develop Quexal:
Exentia is an
open-source library for Delphi, licensed under the Mozilla
Public License.
It is designed to perform computations
on vectors of 32-bit floating point data elements using the Intel
SSE, AMD 3D Now! and Intel x87 instruction
sets. The library handles the differences among these instruction sets,
so that a single code base supports them all. An extensive usage of unrolled
loops and aggressive prefetching ensures blazing performance.
Ondea
The Delphi compiler
puts FWait instructions after every statement that uses floating-point
data. This helps trapping errors during debugging, but (almost) needlessly
slows down execution of final releases.
Ondea
is tool that parses EXE files for FWait opcodes ($9B) and replaces them
with Nop opcodes ($90).
No debugging info is needed. Click here for
the User Guide.
If you're a performance-minded Delphi programmer,
you cannot afford to miss Robert Lee's Optimal
Code: "devoted to making Delphi the high performance computing tool
of choice". This is a great source of information about turning Delphi
applications into screaming ones: "Contrary to popular belief, the performance
of Object Pascal code can be comparable to that of C or C++. It even compares
favorably with assembler on the latest generation of processors. However,
you do have to help out a bit. Delphi's compiler does do some optimizations,
but it needs some help to produce the best performing code. These pages
are devoted to that task."