Space warfare is main theme and central setting of science fiction that can trace its roots back to classical times, and to the "future war" novels of the 19th century. With the Modern Age, directly with franchises as Star Wars and Star Trek, it is considered one of the most popular general sub-genres and themes of science fiction. An interplanetary, or more often an interstellar or intergalactic war, has become a staple plot device. Space warfare, represented in science fiction, has a predominant role, it is a central theme and at the same time it is considered parent, overlapping genre of space opera, military science fiction and Space Western.

Technology

Weapons

Usually, lasers are used rather than bullets. Willy Ley claimed in 1939 that bullets would be a more effective weapon in a real space battle.

Space warfare in science fiction

Destruction of planets and stars

Destruction of planets and stars has been a frequently used aspect of interstellar warfare since the Lensman series. It has been calculated that a force on the order of 1032 joules of energy, or roughly the total output of the sun in a week, would be required to overcome the gravity that holds together an Earth-sized planet. The destruction of Alderaan in Star Wars: Episode IV – A New Hope is estimated to require 1.0 × 1038 joules of energy, millions of times more than would be necessary to break the planet apart at a slower rate.

Space warfare in science fiction

Naval influences

Fictional space warfare tends to borrow elements from naval warfare, often calling space forces as space navies or simply navies. David Weber's Honorverse series of novels portrays several of such space navies such as the Royal Manticoran Navy, which imitate themes from Napoleonic-era naval warfare. The Federation Starfleet (Star Trek), Imperial Navy (Star Wars), Systems Alliance Navy (Mass Effect), UNSC ("Halo") and Earthforce (Babylon 5) also use a naval-style rank-structure and hierarchy. The former is based on the United States Navy and the Royal Navy. The United Nations Space Command in Halo fully echoes all ranks of the United States Armed Forces, even the pay-grade system. Naval ship-classes such as frigate or destroyer sometimes serve as marker to show how the craft are assembled and their designed purpose.

Space warfare in science fiction

Some fictional universes have different implementations. The Colonial Fleet in Battlestar Galactica uses a mixture of army and navy ranks, and the Stargate universe has military spacecraft under the control of modern air forces, and uses air-force ranks. In the Halo universe, many of the ranks of the current-day United States Armed Forces are used in lieu of fictional ranks. In the Andromeda universe, officers of Systems Commonwealth ships follow naval ranking, but Lancers (soldiers analogous to Marines) use army ranks.

Development of the genre

In his second-century satire True History, Lucian of Samosata depicts an imperial war between the king of the Sun and the king of the Moon over the right to colonise the Morning Star. It is the earliest known work of fiction to address the concept.

The first "future war" story was George T. Chesney's "The Battle of Dorking," a story about a British defeat after a German invasion of Britain, published in 1871 in Blackwood's Magazine. Many such stories were written prior to the outbreak of World War I. George Griffith's The Angel of the Revolution (1892) featured self-styled "Terrorists" armed with then-nonexistent arms and armour such as airships, submarines, and high explosives. The inclusion of yet-nonexistent technology became a standard part of the genre. Griffith's last "future war" story was The Lord of Labour, written in 1906 and published in 1911, which included such technology as disintegrator rays and missiles.

H. G. Wells' novel The War of the Worlds inspired many other writers to write stories of alien incursions and wars between Earth and other planets, and encouraged writers of "future war" fiction to employ wider settings than had been available for "naturalistic" fiction. Wells' several other "future war" stories included the atomic war novel The World Set Free (1914) and "The Land Ironclads," which featured a prophetic description of the tank, albeit of an unfeasibly large scale.

More recent depictions of space warfare departed from the jingoism of the pulp science fiction of the 1930s and 1940s. Joe Haldeman's The Forever War, was partly a response to or a rebuttal of Robert A. Heinlein's Starship Troopers, wherein space warfare involved the effects of time dilation and resulted in the alienation of the protagonists from the human civilization on whose behalf they were fighting. Both novels have in the past been required reading at the United States Military Academy.