1. A method comprising: identifying, by a system at runtime, different types of hardware processing resources available in the system by querying an operating system of the system and accessing a configuration file containing information regarding at least one type of the different types of hardware processing resources available; receiving, from an application in the system, requests to perform corresponding tasks, wherein the application is associated with respective precompiled code instances for corresponding types of hardware processing resources of the different types of hardware processing resources; in response to the requests, selecting, by the system, based on a predetermined policy, corresponding ones of the different types of hardware processing resources to perform the tasks, wherein the selecting comprises selecting a first type hardware processing resource of the different types of hardware processing resources to perform the task of a first request of the requests, wherein the predetermined policy specifies load balancing of tasks across the different types of hardware processing resources and indicates which types of hardware processing resources are preferred for respective ones of the tasks; and to perform the task of the first request using the first type hardware processing resource, executing, in the system, a first precompiled code instance of the precompiled code instances without executing the first precompiled code instance on the first type hardware processing resource, wherein the first type hardware processing resource is a field programmable gate array, and the executed first precompiled code instance performs field programming of the field programmable gate array.