Analog computers have been used extensively in the past, for things like tide calculations, but in the semiconductor era things have mostly gone digital. Even where you have analog elements, like DRAM ...
Early computers could perform fairly complex calculations just by arranging a few analog circuits. By choosing appropriate resistor and capacitor values, arithmetic summers, integrators, and ...