PERSISTENT VARIABLES IN PROGRAMMING LANGUAGES
First Claim
Patent Images
1. A method for automatically persisting variable data, the method comprising:
- identifying, by a computer system upon compiling or interpreting source code for an application, a variable in the source code that is declared with a predefined keyword, the predefined keyword indicating that the variable should be persistent; and
for each instance in the source code where data is assigned to the variable, generating, by the computer system, runtime code for saving the data in a nonvolatile data store.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for automatically persisting variable data are provided. In one embodiment, a computer system can identify, upon compiling or interpreting source code for an application, a variable in the source code that is declared with a predefined keyword. The predefined keyword can indicate that the variable should be persistent. The computer system can then generate, for each instance in the source code where data is assigned to the variable, runtime code for saving the data in a nonvolatile data store.
38 Citations
21 Claims
-
1. A method for automatically persisting variable data, the method comprising:
-
identifying, by a computer system upon compiling or interpreting source code for an application, a variable in the source code that is declared with a predefined keyword, the predefined keyword indicating that the variable should be persistent; and for each instance in the source code where data is assigned to the variable, generating, by the computer system, runtime code for saving the data in a nonvolatile data store. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable storage medium having stored thereon computer software executable by a processor, the computer software embodying a method for automatically persisting variable data, the method comprising:
-
identifying, upon compiling or interpreting source code for an application, a variable in the source code that is declared with a predefined keyword, the predefined keyword indicating that the variable should be persistent; and for each instance in the source code where data is assigned to the variable, generating runtime code for saving the data in a nonvolatile data store. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a processor; and a memory having stored thereon instructions which, when executed by the processor, cause the processor to; identify, upon compiling or interpreting source code for an application, a variable in the source code that is declared with a predefined keyword, the predefined keyword indicating that the variable should be persistent; and for each instance in the source code where data is assigned to the variable, generate runtime code for saving the data in a nonvolatile data store. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification