Patent ID: 11861389
Assignee: RED HAT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. A non-transitory computer readable medium for use on a computer system containing computer-executable programming instructions for cross-compiling a specified instruction between two virtual applications, the instructions comprising:
receiving, from a first virtual application, a request to compile a source code for the specified instruction for a second different virtual application;
creating, using a library associated with the second virtual application, a target data structure within the second virtual application;
storing one or more templates identified from the specified instruction to a template directory in the target data structure;
identifying, from the source code, a plurality of first syntax features, each first syntax feature defining a respective variable;
determining, using the specified instruction and for each first syntax feature, a modified definition for the respective variable;
generating, based on the modified definitions, and using the library of the second virtual application, second syntax features defining the respective variables more precisely than the first syntax features;
rendering, using the second virtual application, the specified instruction into the one or more templates, the specified instruction comprising the second syntax features and their respective variables; and
executing the specified instruction using the second syntax features, wherein executing the specified instruction using the second syntax features results in less CPU cycles than executing the specified instruction using the first syntax features.