1. A method of executing a context switch for first software code comprising: a context declaration declaring a context, second software code to be executed within the context, and at least one indication of a boundary of the second software code within the first software code, the method comprising acts of: (A) interpreting the context declaration; (B) identifying the boundary of the second software code; (C) controlling generation of the context specified by the context declaration; and (D) initiating execution of the second software code within the generated context.