Sometimes, racism in SF is subtext rather than context. In E.E. Smith’s The Skylark of Space, the heroes are Earth’s best and brightest despite, when told by a malevolent entity there are many ways it could kill them, responding, “Name one!” Upon arrival on the planet Osnome they rescue an airship being attacked by flying monsters. The passengers of the ship are humanoids whose skin color is “a dark, livid… green.” In appreciation for their efforts the Terrans are given “slaves,” seven men and seven women “of a much lighter color” (than the people they rescued). One of the slaves connects the Terrans to a machine that teaches them Onmone’s customs and languages. It seems Mardonale (the land of the dark Osnomeans) and Kondal (the land of the light Osnomeans) have been at war for six thousand years and the “slaves,” members of the Kondal royal family, are POWs. The Kondalians tell the Terrans that the Mardonalians were going to kill them and plunder their ship. The Terrans escape with the POWs and flee to Kondal, killing several Mardonalians in the process. When the Mardonalians launch an attack on Kondal the Terrans use their ship to annihilate the Mardonalian fleet, even after it breaks off the attack and retreats.
Now, not only do the (white) Terrans automatically side with the (light skinned) Kondalians against the (dark skinned) Mardonalians, they do so without ever asking who started the war or why. And despite the Mardonalians’ apparent “treacherousness,” they seem to have treated their captives well. There is never any mention of Mardonalian POWs in Kondal.
In his introduction to 2001 commemorative edition of Skylark, Vernor Vinge says he is disturbed by the presentation of the Kondalonian policy of “eugenics via execution” in “mildly approving terms,” but since few SF writers had local examples of “real, monstrous villainy” pre World War II, he believes “such genocidal fantasies, paradoxically enough, sprang from innocence.” He is confident that “if modern science fiction writers were brought up in the context of the first half of the twentieth century, they would have the same blind spots.”
Perhaps. But the real problem is not the innocence or ignorance of SF writers in the last century. The real problem is the casual acceptance of stereotypes in exchange for a “ripping good yarn” by SF writers and fans in this century.