That said, I think rail guns are a dead end. Offensively they don’t seem to have anything like the range or salvo size of most any missile. The advantage is magazine size, but the disadvantage is rate of fire, on top of huge SWAPC requirements even if you can make it work (spoiler, no one is near close). Defensively we again run into rate of fire and SWAPC - what does it bring to the table over a 5” sabot or point defense missile? Hypothetically the goal is increased magazine and lower cost per shot, but I think the ever lowering costs of missiles, even high performance ones, is simply going to continue to box rail guns out.
Maybe some day rail guns will be practical, but there are several limitations that are years or even decades away.