1. An industrial controller comprising: a multicore electronic computer having a first and second processor, each processor having respective memory caches; a shared electronic memory communicating with the first and second processors through their memory caches, the electronic memory holding a first and second operating system; wherein the first processor includes a general-purpose core and a RISC core, the RISC core having a reduced instruction set of industrial control instructions and wherein the second processor is a general-purpose core; a startup sequence circuit responding to a startup signal to: (a) assign industrial control programs for controlling a machine in real-time by reading input signals from sensors on the machine to provide output signals to actuators on the machine according to control logic to the first processor; and (b) assign programs that may operate asynchronously to determine the value of the input and output variables to the second processor; wherein the programs on the first and second processor may communicate by exchange of data using shared space in the electronic memory.