# US 2009/0271771 A1 · System and methods for distributed execution of computer executable programs utilizing asymmetric translation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0271771 A1
- Document ID: US20090271771A1
- Status: Published application
- Kind: A1
- Application number: 12/429,999
- Filed: 2009-04-24
- Published: 2009-10-29
- Earliest claimed: 2008-04-28
- Assignees: Kaazing Corporation
- Inventors: John R. Fallows
- Web page: https://patentgrep.com/patent/US20090271771A1

## CPC

- G06F 9/45516: {Runtime code conversion or optimisation}
- G06F 9/45525: {Optimisation or modification within the same instruction set architecture, e.g. HP Dynamo}
- G06F 8/51: Source to source
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Dynamic program translation is utilized to convert an executable program in a first language executable representation to a second language executable representation that is either optimal or essentially required for execution within a defined execution environment on a client computer system. A dynamic translator, typically executed on a first computer system, is invoked in response to a request from a second computer system to provide an identified executable program. The dynamic translator performs an execution path analysis and optimized translation from a first representation, such as a Java class file, to generate executable code in the second representation, such as JavaScript. Optimizations include cross-language feature modifications, selective replacement of nominally un-translatable code portions, and insertion of call-back service requests to dynamically emulate services required in the execution of the program.

## Claims

### Claim 1

A system providing for the dynamic translation of an executable from a first language to a second language, said system comprising:
a) a first computer system operative to execute a dynamic translator of a program defined in relation to a first language, said first computer system being responsive to requests to provide executable programs; and
b) a second computer system coupled to a user interface permitting user interaction including the submission of commands, said second computer system, including a predetermined local execution environment, being operative to issue a request to said first computer system in response to a predetermined command, wherein said request identifies a predefined executable program to be obtained from said first computer system for execution by said second computer system within said predetermined local execution environment,
wherein said dynamic translator is operative to translate said predefined executable program from a first language representation to a second language representation specifically executable within said predetermined local execution environment.

### Claim 2 (depends on 1)

The system of claim 1 wherein said dynamic translator is further operative to modify said predefined executable program to introduce call-backs in said second language representation to invoke performance of predetermined services by said first computer system in the execution of said predefined executable program by said second computer system.

### Claim 3 (depends on 1)

The system of claim 1 wherein said dynamic translator is further operative to modify said predefined executable program to introduce reflection call-backs in said second language representation, wherein execution of a predetermined reflection call-back by said second computer system operates to issue a call-back request to said first computer system to invoke said dynamic translator to translate a supplemental portion of said predefined program, selectively identified by said call-back request, to said second language representation, said first computer system being further operative to provide said supplemental portion to said second computer system in connection with the continued execution of said predefined executable program.
