1. A method of neural learning, comprising: modulating an input from a pre-synaptic neuron to a post-synaptic neuron by a weight of a synapse connecting the pre-synaptic neuron and the post-synaptic neuron; and adapting the weight of synapse based on at least one of a resource associated with the synapse, a time since a last change of the weight, or spike timing of the pre-synaptic neuron and the post-synaptic neuron.