1. A computer-implemented method of generating executable code for a target platform in a neural network, comprising: receiving a spiking neural network description; receiving platform-specific optimizations for a plurality of target platforms, the platform-specific optimizations comprising cache coherence for multi-processor target platforms, and the platform-specific optimizations based on a partition of the neural network across the plurality of target platforms; generating executable code for at least one target platform of the plurality of target platforms by processing the platform-specific optimizations for the plurality of target platforms with the network description; and deploying the executable code to the at least one target platform.