Type casting in a managed code system
AssigneeMicrosoft Corporation
InventorMartin Taillefer
Life of this patent
Estimating the term…
Abstract
Type casting in a managed code system is described. The managed code system includes managed memory as well as shared memory located outside of the managed memory. The managed memory has multiple managed memory portions, each corresponding to a computing entity, such as a processes. The type system permits obtaining of data from shared memory using type casting to thereby assign the data a type that supports type casting. The type is a valid type casting type that satisfies certain requirements that allow the type to be assigned while maintaining type safety.
Claims20
A managed code system comprising:
- a managed memory have a plurality of managed memory portions, each corresponding to a managed computing entity;
- shared memory located outside of the managed memory;
- a type system that permits obtaining a data from shared memory using type casting to thereby assign the data a type that supports type casting.
A method for type casting in a managed code environment, the method comprising:
- an act of determining that data from the shared memory may be subject to type casting for a plurality of types that support type casting;
- and
- an act of a type system obtaining data from shared memory using type casting to thereby assign the data a type of the plurality of types that supports type casting.
A computer program product comprising one or more computer-readable media having thereon computer-executable instructions that, when executed by one or more processors of a computing system, cause the computing system to operate a type system in a managed code environment, the type system configure to perform type casting by performing the following:
- an act of determining that data from the shared memory may be subject to type casting for a plurality of types that support type casting;
- and
- an act of a type system obtaining data from shared memory using type casting to thereby assign the data a type of the plurality of types that supports type casting.
Dependencies are inferred from the claim text.