Method and apparatus for compiling source programs using one or more libraries
AssigneeSun Microsystems, Inc.
InventorsLawrence A. Crowl, Michael S. Ball
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsLawrence A. Crowl, Michael S. Ball
Estimating the term…
Improved techniques for reducing the time and cost associated with producing compiler products are disclosed. A programming system including an enhanced compiler suitable for compilation of source programs is disclosed. The enhanced compiler can be used to compile source programs so that template (or generic) instances already available from the libraries are not recreated. The enhanced compiler can efficiently compile a request to create an instance by determining whether the instance is already available in one of the libraries. If the instance is already available from one of the libraries, the instance need not be created. In comparison with conventional models, the enhanced compiler can access libraries directly without requiring a significant amount of preparatory work and/or costly operations such as preparation of options files and transformation of instance names to linker symbol names. As a result, the enhanced compiler is more efficient (faster) than convention compilers.
A method of compilation of a source program written in one of the C++ and Ada programming languages into an object file, using one or more associated libraries of instances, wherein each instance is a specialization of a generic template and its available operations and is identified by a linker symbol name, and wherein the generic template is expressed in the same programming language as the source program, the method comprising, during compilation of the source program:
A compiler system, embodied in a computer readable medium, the compiler system being operable to compile source programs written in one of the C++ and Ada programming languages into object files, the compiler system comprising:
A method of compilation of a source program written in one of the C++ and Ada programming languages into an object file, using one or more associated libraries of instances, wherein each instance is a specialization of a generic template and its available operations and is identified by a linker symbol name, and wherein the generic template is expressed in the same programming language as the source program, the method comprising during compilation of the source program:
A computer readable medium including computer program code for compilation of a source program written in one of the C++ and Ada programming languages into an object file, using one or more libraries of instances, wherein each instance is a specialization of a generic template and its available operations and is identified by a linker symbol name, and wherein the generic template is expressed in the same programming language as the source program, the computer readable medium comprising instructions operable to execute during compilation of the source program to:
Dependencies are inferred from the claim text.