Data representation for mixed-language program development
Abstract
Method for enabling the simultaneous use of a first and a second programming language within a computer program, and apparatus to practice the method. To enable this sharing of languages, the present invention first provides for a common runtime representation of the data between the several languages in a program as a shared object model. The shared object model includes the layout of complex data structures (e.g., classes), the creation of data, the calling conventions, the destruction of data, the runtime representation of type information, dynamic function call dispatch, and dynamic type conversions. The use of a shared object model enables the sharing of the several compilers' internal representation of data between the different languages as a persistent shared symbol table. This shared internal data representation enables the several compilers to define their respective internal data representations in terms common to each of the compilers.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 34 · Forward citations: 75.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for running a computer program with a first part in a first programming language with a first data structure and a second part in a second programming language with a second data structure, which is different than the first data structure, on a computing device with a CPU, bus means and memory means, comprising the steps of: compiling the first part of the computer program into a compiled first part of the computer program with a compiled first data structure; compiling the second part of the computer program, generating a second compiled part and transforming the second data struct
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗