Post
by Darren C » 26 Jan 2005, 21:29
Posted by: Darren C
From Team Developer help:
The Object Compiler improves the runtime performance and resource use of
Centura SQLWindows applications.
Using a Centura SQLWindows application (source file) as input, the Object
Compiler:
1. Translates actions in internal functions and class functions into C
language statements.
2. Translates message actions in general window classes into C language
statements.
3. Using a general purpose C compiler such as Microsoft Visual C++, compiles
the C language statements into a DLL.
4. Creates a new Centura SQLWindows application outline (*.APC output file)
that contains an external function definition for each function in the DLL.
In the actions sections, the Object Compiler replaces statements with calls
to functions in the DLL. This output application takes the place of the
original application
In short, the Object Compiler makes actions in an application into external
functions in a DLL.
The performance gains can be very impressive in some cases, especially if
you design your application with the Object Compiler in mind. I expect that
some non trivial applications out there *need* to use the object compiler to
get acceptable performance (SAL isn't very fast for compute intensive
tasks).
Will Gupta continue to offer official support for the Object Compiler now
that it is open source? They could, but I expect they will not. As such, I
am not sure how many customers will continue to use it going forward.
Darren