The problem with missiles is that the Swarm uses powerful shields, making this very expensive.. My favoured tool against them is a "Fisher's Follies" type cruiser... big guns, ludicrous speed, flimsy.
Depending on my tech level it my be just a big gun with engines and a ridiculously short service life.
If I can afford to make it a reasonably balanced ship, I like having something fast with big (spinal?) lasers and small railguns anyway:
Put all weapons that benefit from speed on the fastest reasonable hull, make some missiles packs if I need speed and standoff range, have the rest of my fleet be relatively slow and armed with missiles/turreted beams.