1. A method to automate isolation of native code within a computer program that has been compiled to a platform-independent code, the method comprising: receiving a library containing a native code sub-routine, wherein the native code sub-routine provides a service to the computer program; analyzing the library to determine a defined symbol name for the native code sub-routine; creating a proxy sub-routine for the native code sub-routine, wherein the proxy sub-routine forms a link to the native code sub-routine; placing the proxy sub-routine into a new library using the defined symbol name of the native code sub-routine as a symbol name for the proxy sub-routine; running the native code sub-routine in a first process; executing the platform-independent code in a second process; and invoking the native code sub-routine in the first process by calling the proxy sub-routine from the platform-independent code in the second process.