Logic gates using liquids (2019)
imgur.com
imgur.com
Think about adding two bits. There are only four possible ways to do it.
0+0=0
0+1=1
1+0=1
1+1=0 (carry 1)
If you squint at the bit patterns in those addition facts, you realize it is actually the truth table for XOR (ignoring the carry). So adding bits A and B is the same as taking A XOR B.
What about carrying the 1? The carry can be represented as an AND: you only carry the 1 if A and B are both 1. So a simple 1-bit adder can be made by combining an AND and a XOR.
Everything becomes simpler when you stop thinking in terms of addition and start thinking in terms of truth tables for bits. Take the truth table for a two bit adder (AB + CD = XY):
A B C D X Y
0 0 0 0 0 0
0 0 0 1 0 1
0 0 1 0 0 1
0 0 1 1 1 0
…
1 1 1 1 1 1
If you learn the basic algorithm for converting a truth table into logic gates, you can represent any bit pattern as gates, including addition operations. Adders are nice because you can basically concatenate them together in a chain to add larger and larger patterns of bits.
https://www.electronics-lab.com/article/binary-adder/
Define a width of addition operations you'd like to support and work from a 1 bit adder up to that.
See the 3-bit Hydro-pneumatic Adder.
There was some brief interest in fluidics because it was cheap, more reliable than electronics of the time, and could function in extreme environments. So it found use in industrial automation and aircraft systems. This document[2] from NASA shows some applications it found at the time. Univac even built a completely fluidic 4 bit digital computer[3].
Fluidics is still around today, but used for very niche applications. One of the most absurd uses I've heard of was getting around rules prohibiting active aerodynamics in Formula 1. In 2010, the McLaren devised a system where the driver could cover a hole on part of the car, causing flow to be redirected to a fluidic amplifier that redirected flow over the rear spoilers causing them stall, allowing drag to be reduced on the straight aways. IIRC the entire purpose of the system was to get around rules which prohibited doing this with moving parts.
[0]https://miriam-english.org/files/fluidics/FluidControlDevice...
[1]https://acoustics.org/pressroom/httpdocs/132nd/2aaa8.html
[2]https://ntrs.nasa.gov/api/citations/19730002533/downloads/19...
[3]https://dl.acm.org/doi/pdf/10.1145/1464052.1464112
[4]https://us.motorsport.com/f1/news/banned-technical-analysis-...