1. A method, comprising: encoding an application with a library having a platform-independent application programming interface (API) for interacting with a simulation engine, the simulation engine providing a simulated environment for hosting the application; and encoding the library with a platform-dependent API providing an interface to the simulation engine using a platform-dependent hardware element, the platform-dependent hardware element unaffecting a non-simulation environment when the application is running in the non-simulation environment.