Unloading would save the AF447 but it is far from being only possible solution. Other ones: not pulling in the first place, not disregarding the stall warning, returning to assigned altitude instead of merely reducing the RoC from humongous to merely excessive, etc...
Unloading is the most effective on highly aerobatic, very powerful and draggy designs, such as Su-26 or Su-27.