Patent ID: 8910190

Claim:
An apparatus, comprising: a processing system adapted to provide a message-passing runtime environment, wherein the processing system is configured to: maintain a library of modules in a non-transitory storage medium, wherein the library of modules includes code for causing a processing system to perform a plurality of functions, each function being indicated by a function selector; store a first address in a first implementation pointer during loading of an application, wherein the first implementation pointer is identified by a first function selector, and wherein the first address corresponds to a target function that is linked to the application; change the first implementation pointer during execution of the application by replacing the first address with a second address in the first implementation pointer, wherein the second address corresponds to a code block maintained in the library of modules; and store the first address in a second implementation pointer that is identified by a second function selector; wherein invoking the first function selector after replacing the first address with the second address in the first implementation pointer causes the processing system to execute the code block, and wherein executing the code block includes invoking the second function selector such that the processing system is caused to execute the target function after each execution of the code block.