Unlock instant, AI-driven research and patent intelligence for your innovation.

Compile time linking via hashing technique

A hash value and hash function technology, which is applied in the field of compilation time linking through hash technology, can solve the problem that the program is not easy to apply, and achieve the effect of simplifying the compilation process

Inactive Publication Date: 2006-06-21
AXIOMATIC SOLUTIONS
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The disadvantage of the above traditional method is that the program compiled into Java bytecode is not easy to apply

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Compile time linking via hashing technique
  • Compile time linking via hashing technique
  • Compile time linking via hashing technique

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Description of the preferred embodiment

[0017] refer to figure 1 , which represents a computer system incorporating a preferred embodiment of the present invention. The preferred computer system is an IBM PC compatible running the Linux operating system. However, other such as Macintosh TM 、SUN SPARC TM and MIPS TM A workstation-based platform is also available. The computer system includes a central processing unit (CPU) 102, a user interface 104, a read only memory (ROM) 106, and a memory 108 including both random access memory (RAM) and secondary storage such as a hard disk storage system. The memory stores: an operating system 110 (parts of which are also stored in ROM 106); computer application programs 112 to be run by the CPU 102; a compiler 114 for compiling a high-level language into a machine-executable language; an assembler 134 and run The Java Virtual Machine (JVM) 136 of the Java bytecode produced by the compiler.

[0018] The compiler 114 include...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A linker is typically used in the post-processing of compiling a high-level language such as C into a machine-executable language to link the separately compiled object files and to resolve addresses of global variables (140) declared in these separate files (142). The present invention proposes linking during compile time by using a dedicated hash table called the global variable hash table (130) that is shared by individual files. This results in a collection of processed object files that are coherent in terms of the addresses (142) of their global variables (140) and can further be correctly assembled into machine executable code. This method can be used to compile separate high-level language source files to generate executable machine code using address resolution techniques across separate modules.

Description

technical field [0001] The present invention generally relates to a method of processing electronic digital data structures, and more particularly to a method of processing electronic digital data structures for running programs. More specifically, the present invention introduces a new method of compiling high-level programming languages ​​into machine-executable bytecodes. Background technique [0002] Executable Java bytecode is a form of machine-executable binary code that runs on the Java Virtual Machine (JVM), which can be installed on most computer platforms. Incidentally, the JVM has become the de facto standard for platform-independent computing. A Java programmer writes programs in the Java language. However, as of this writing there are more C programmers than Java programmers because C is much older in 1969 and Java has only been around since the mid 90s. [0003] It is desirable to have a suitable structural model to translate a C source program into Java byt...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/45
Inventor 穆赫德·哈纳菲亚·阿卜杜拉
Owner AXIOMATIC SOLUTIONS