Before the gas chamber was the firing squad. Before that was the noose, the axe, and the guillotine.
Humans have a long history of killing each other, and typically over time (with a few exceptions such as the electric chair) the methods have generally gotten more humane (if state sanctioned punishment resulting in death can ever be considered humane) and when those methods failed to be available, no human government has ever held off on using a more barbaric act of killing in it's place.
Technology will either evolve without us, or less humane methods will continue to be used. Progress is both a promise and a threat.