|
Authored by: Ian Al on Sunday, April 22 2012 @ 08:56 AM EDT |
I need to cogitate more about what you tell me, but can I try the following
generalisation on you?
The traditional computer language source
file is compiled to an intermediate form of machine code and intermediate
symbolic references. When all of the linked files are finally processed into an
executable and saved in an executable file, of the elf or other format, the
instructions for the processor that will be loaded into memory are all in
machine code.
With object oriented languages, all of the core objects
can be coded into machine code. However, most object oriented systems have that
machine code in an interpreter program. At run time, the interpreter evaluates
all the objects created by the program and attributes the properties to them on
the basis of inheritance and composition.
Some object oriented
platforms, like Java, do a partial evaluation and put an intermediate mix of
binary (byte) code, and parameter attribution, but leave final parameter
attribution to a later stage. This 'partial evaluation' is often referred to as
'compilation' but is more accurately considered a partial interpretation prior
to run time. It is a mixture of machine code generation and parameter
attribution, The resulting file, the 'class file' in Java, is referred to as an
executable.
However, it cannot be executed as native machine code by
the processor nor as 'byte code' on a virtual processor in software. It has to
run through the final interpreter evaluation stage or have a subsequent
'installation phase' evaluation before running on a native or virtual
processor.
This splitting of the phases of processing the program
source code is just a more complex way of implementing the 'interfaces'. The
'interface' to the programmer is not functionally changed by this complex
implementation and execution process. --- Regards
Ian Al
Software Patents: It's the disclosed functions in the patent, stupid! [ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Sunday, April 22 2012 @ 09:36 AM EDT |
I detailed this in an earlier post here
here [ Reply to This | Parent | # ]
|
|
|
|
|