The peasant railgun has always annoyed me because real world physics have never been modelled by DnD.
So yes, your peasant railgun spear would fire at the speed of light in reality. But the game simulation doesn't care. The last peasant in the line throws the spear for 1d8 damage.