Stupid LED Tricks with a 74HC595

They are very similar.

However the 74HC595 can source or sink 25mA where as the 4794 can sink 40mA (couldn't find source figure but likely to be lower.)