https://www.scmp.com/news/china/science/article/3255351/nasas-dream-comes-true-china-plans-build-giant-rail-gun-launch-hypersonic-planes-space
https://www.scmp.com/news/china/science/article/3255351/nasas-dream-comes-true-china-plans-build-giant-rail-gun-launch-hypersonic-planes-space
I mean... a gun would need a much shorter distance to launch a projectile to be useful. A rail launcher for spacecraft could be WAY longer and still be useful, maybe that will help keep heat under control?