×

Dynamic adaptive programming

  • US 8,572,591 B2
  • Filed: 06/15/2010
  • Issued: 10/29/2013
  • Est. Priority Date: 06/15/2010
  • Status: Active Grant
First Claim
Patent Images

1. In a computing environment comprising a static language program written using a statically compiled language wherein the statically compiled language makes provisions for dynamically compiled elements, including dependent calls to platform specific programming interfaces enabling platform-specific code translation, using a dynamic binding mechanism at a target platform, into a deployable platform executable to carry out an intended application functionality on a target platform among a plurality of target platforms, the target platform being the platform to which the compiled executable program is to be deployed but does not exist on one or more other platforms to which the compiled executable program is to be deployed and in which the statically compiled program is translated into its finalized form by invoking the dependent calls pertinent to the native resources of the target platform, a method of creating platform portable code, the method comprising:

  • declaring a portion of code defined in a static language program, prior to the static language program being compiled, as being a dynamic object, the portion of code being targeted for a target platform configured to execute the portion of code as defined in the static language program prior to compiling the static language program, the static language program being a program compiled using a static language, wherein declaring the portion of code as being a dynamic object prevents exceptions from being thrown due to the dynamic object based on static analysis when the static language program is compiled, wherein the dynamic object comprises a dependent call to a platform specific programming interface implemented in the target platform, the platform specific programming interface being available on the target platform, but not available on one or more other platforms to which the compiled version of the static language program will be deployed; and

    statically compiling the static language program to platform portable code that is then deployed to and successfully executed on different platforms and where when the portable code is deployed to the target platform, the target platform is able to execute the portion of code declared as being a dynamic object, wherein statically compiling the static language program to platform portable code comprises leaving the portion of code declared as a dynamic object as dynamic code to be interpreted by the target platform to call the platform specific programming interface of the target platform.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×