Co-routines native to a virtual execution environment
AssigneeMicrosoft Corporation
InventorsHenricus Johannes Maria Meijer, Brian C. Beckman, Mark B. Shields
Life of this patent
Estimating the term…
Abstract
A virtual machine is extended to include native support for co-routines. In this manner, high-level programmers are afforded access to such functionality. More particularly, supplied is a mechanism inside the virtual machine to enable method/function state to be maintained and subsequently restored. Consequently, a method/function can be called multiple times and resume where it last left off. This provides direct support for tier splitting patterns, iterators and comprehensions, among other things.
Claims20
An application virtual machine system, comprising:
- a receiver component that receives a computer program;
- and
- a runtime component that provides native support for execution of one or more co-routines specified by the program.
A method of program execution, comprising:
- receiving program code that specifies at least one co-routine;
- and
- employing a virtual machine to execute the code.
An application virtual machine system, comprising:
- means for receiving an intermediate language representation of a program that includes one or more co-routines;
- and
- means for executing the program on a designated computing platform.
Dependencies are inferred from the claim text.