Optimizing software code
US-2015378757-A1 · Dec 31, 2015 · US
US8978007B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-8978007-B2 |
| Application number | US-201113173960-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jun 30, 2011 |
| Priority date | Jun 30, 2011 |
| Publication date | Mar 10, 2015 |
| Grant date | Mar 10, 2015 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A dynamic programming environment includes a dynamic runtime infrastructure configured to receive static metadata as source text in a source code written in a dynamic programming language. The dynamic runtime infrastructure determines an object representation based on the static metadata from the source text in the source code.
Opening claim text (preview).
What is claimed is: 1. A method performed by a computing device, the method comprising: recovering a description defined by embedded static metadata in source text in a dynamic programming source code written in a dynamic programming language, the description defined by the static metadata providing no semantic meaning when executing the dynamic programming source code; determining an initial optimized object representation based on the description defined by the static metadata; and backing off the initial optimized object representation if constraints of the description defined by the static metadata are violated. 2. The method of claim 1 comprising: ignoring the static metadata if the static metadata is not understood by a dynamic runtime infrastructure operating on the computing device. 3. A computer readable storage memory storing computer-executable instructions for controlling a computing device to perform a method comprising: receiving static metadata as source text in a dynamic programming source code written in a dynamic programming language; determining a first object representation based on the static metadata from the source text in the dynamic programming source code; recovering a description defined by the static metadata from the source text in the dynamic programming source code; and backing off the first object representation if constraints of the description defined by the static metadata are violated. 4. The computer readable storage memory of claim 3 , wherein the static metadata is defined to provide no semantics which would control a behavior, other than performance, of an application controlled by the dynamic programming source code. 5. The computer readable storage memory of claim 3 , wherein the computer-executable instructions define a dynamic runtime infrastructure and the method comprises: ignoring the static metadata if the static metadata is not understood by the dynamic runtime infrastructure. 6. The computer readable storage memory of claim 3 , wherein the method comprises: recognizing calls to a set of intrinsic functions which define the first object representation based on the static metadata from the source text in the dynamic programming source code. 7. The computer readable storage memory of claim 1 , wherein the method comprises: recognizing the static metadata from the source text in the dynamic programming source code that can describe types. 8. The computer readable storage memory of claim 3 , wherein the method comprises: recognizing the static metadata from the source text in the dynamic programming source code that can describe functions and actions. 9. The computer readable storage memory of claim 3 , wherein the method comprises: recognizing the static metadata from the source text in the dynamic programming source code that can describe records containing at least certain fields. 10. The computer readable storage memory of claim 3 , wherein the method comprises: recognizing the static metadata from the source text in the dynamic programming source code that can describe arrays of a specific type. 11. The computer readable storage memory of claim 3 , wherein the method comprises: recognizing the static metadata from the source text in the dynamic programming source code that can describe constructors, including a shape of a constructed object. 12. The computer readable storage memory of claim 3 , wherein the method comprises: recognizing the static metadata from the source text in the dynamic programming source code that can describe factory functions. 13. The computer readable storage memory of claim 3 , wherein the method comprises: recognizing the static metadata from the source text in the dynamic programming source code that can describe enumerations. 14. The computer readable storage memory of claim 3 , wherein the determining comprises: optimizing the first object representation based on the static metadata from the source text in the dynamic programming source code. 15. A computer readable storage memory storing a dynamic runtime infrastructure including computer-executable instructions for controlling a computing device to perform a method comprising: receiving embedded static metadata as source text in a dynamic programming source code written in a dynamic programming language; recovering a description defined by the static metadata from the source text in the dynamic programming source code; determining an initial optimized object representation based on the description defined by the static metadata; and backing off the initial optimized object representation if constraints of the description defined by the static metadata are violated. 16. The computer readable storage memory of claim 15 , wherein the static metadata is defined to provide no semantics which would control a behavior, other than performance, of an application controlled by the dynamic programming source code. 17. The computer readable storage memory of claim 15 , wherein the method comprises: ignoring the static metadata if the static metadata is not understood by the dynamic runtime infrastructure.
Runtime code conversion or optimisation · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.