There's a whole lot of computing required to compute the trajectories of two high speed objects that are maneuvering to avoid being hit. The radar to track the incoming missile needs to be extremely precise, and the servo mechanism to aim the laser has to be both precise and very fast to hit and keep the laser on target long enough to do any damage. On the plus side, you probably don't have to "fry the electronics" on an IR guided missile. You probably just need to heat the sensor up enough to confuse it to defeat the missile.