Green algae that evolved to tolerate hostile and fluctuating conditions in salt marshes and inland salt flats are expected to survive climate change, thanks to hardy genes they stole from bacteria.