218 points · by CharlesW · 2y ago · 91 comments
1936: Water integrator, used in USSR until the '80s: https://en.wikipedia.org/wiki/Water_integrator
1940s: Torpedo Data Computer: https://en.wikipedia.org/wiki/Torpedo_Data_Computer
1949: MONIAC, another water integrator: https://en.wikipedia.org/wiki/Phillips_Machine
1960s: Scanimate, of which there are still a couple in use: https://en.wikipedia.org/wiki/Scanimate
Modern day: Slime molds, other biocomputers, and domino computer: https://youtu.be/OpLU__bhu2w
And of course, quantum computers.
Slow, with plenty of breaks to let your brain catch up, usually filled with a nice graphical example to keep your bring churning. Plenty of “why” explanation, in the beginning. Authoritative, but not condescending. Just the right amount of jargon.
https://babel.hathitrust.org/cgi/pt?id=mdp.39015095040682&vi...
Anyway, I'm now intrigued enough to consider buying one.
It is a fun and well-made toy, and it feels brain-stretchy in a good way to try and understand how the examples work.
The company itself is working on making an analog chip, which is fascinating to me.
On first glance this product contains eight potentiometers and two encoders, knobs, 170+ connectors, patch cables, a display, various discrete summers, integrators and differentiators and verly likely power rail managment that is clean enough to do actual calculations with it.
Maybe as a reality check try finding the cheapest price for 170 connectors and 8 potentiometers with knobs ; )
You could build a lot of hardwired op-amp circuits dead-bug style for $500, though, and have money left over for a base model Rigol scope and a no-name linear bench supply.
Analog computation is essentially functional programming.
You have inputs and outputs and for your results have to think in terms of piping analog data through different compositions of functional primitives to achieve your desired output.
There's no concept of "calling a function either" thus recursion is replaced with what we term as "feedback loops".
Additionally all forms of computational state (aka memory) other then initial values will essentially be replaced by feedback loops. There's no discrete step to access a computational result in an analog computer thus in order to access a previous computational result the only way is to literally feed output back into the input. At least in typical functional programming you have a stack where you can store and access previous state. With analog computing the "purity" goes to the next level.
Likely from this description you will see the obvious solution to this problem is some sort of hybrid machine that executes procedures but also stores and produces analog results. It doesn't exist yet but I feel it will look like an fpga. Maybe be call it an fpoa. Field programmable op amps.
[0] https://news.ycombinator.com/item?id=38812160
[1] https://en.m.wikipedia.org/wiki/Field-programmable_analog_ar...
> There’s no concept of “calling a function either”
This is true for the THAT machine in the article, but your comment seems to be making a lot of assumptions about analog that aren’t necessarily true. Digital computing is an abstraction over analog circuits, and it can be done at a higher level than, say, CMOS logic gates. We definitely do know how to build analog computers that have function calls.
The big but mixed advantage of an analog control loop or signal processing chain is "no software".
There's no real reason to do simulations on an analog computer today, though I think using one for model-in-the-loop would be fun, and somebody is probably doing it somewhere.
A couple more uses: First is "noise immunity:" The fact that you can perform a computation twice and get the same answer, and chain multiple processing steps together with no degradation. Though to be fair this includes digital computation by pencil and paper.
Second, complex operations that simply can't be conceptualized in the analog domain.
Practically speaking digital computers are so fast that the simulation of analog is more or less the same. In gaming we run entire physics simulations and they are so fast they appear as analog. And these are for real time simulations. We can run simulations slower and at resolution beyond what's possible with analog.
First analog would be limited by noise. So there's a limit with resolution here. Digital offers virtually unlimited resolution by using symbols to represent numbers. The advantage of analog here is that at the highest resolution of simulation possible with analog it will be faster than digital. That's all.
>We definitely do know how to build analog computers that have function calls.
No. A function call involves a stack and saving context onto that stack. An analog computer is a function in itself. There is no "call". I neglected to mention the "delay" from input to output as one replyer mentioned but that's just details. That would be the closest thing to memory since the delay means your accessing a result from the past.
IMO it is surprising fixed-point values don’t come up more often… I think we’ve accidentally translated a hardware detail into our software. Floats are only necessary if we have huge dynamic range.
Oh it’s not so surprising if you’ve used both floats and fixed a lot. There are very good reasons floats are much more widely used today, and fixed point predates floats so if fixed was better it would come up more often. With fixed point, you always have to think about both the range and the resolution you want to represent, and that’s often a hassle and might require doing difficult analysis (or more likely throwing away precision for safety). Fixed point numbers also have a non-uniform relative precision - the ratio between steps changes across it’s range, and this can be a disadvantage for a lot of computations. The relative precision of fixed is actually kind-of opposite of what most people need, it gets higher the larger the magnitude.
Floats are much easier because the relative precision is roughly constant, you always know you have ~7 decimal digits worth of mantissa, and because the range is huge so most people don’t have to worry about overflow or underflow (especially for intermediate results!), and the range goes really small as well, which is useful. Float precision, unlike fixed point, is kind-of scale invariant within the float’s range.
It’s not an accident at all that float usage dominates hardware and software, it’s very intentional and people like it. There are good uses for fixed-point too, and they’re used all the time, and it makes use of integer hardware, but on the whole fixed point numbers are much more difficult to use casually than floats.
It really depends on what kind of analog hardware you use. Not exactly like either. You would different causes for error: Thermal, inherent indeterminism of interactions, decay/drift of value over time, boundary breaches with values near extrema, etc.
> IMO it is surprising fixed-point values don’t come up more often
The C++ standard committee has seen a paper on adding those to the language, as a library feature: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p00...
There's a kind-of-popular fixed-point-math library for the language:
https://github.com/MikeLankamp/fpm
and I'm sure they have received some attention in other languages.
So it looks like you only need to attenuate that a bit to get to Eurorack voltages.
https://en.m.wikipedia.org/wiki/Field-programmable_analog_ar...
It would be cool if analog computers could be miniaturised as digital computers were. Then maybe they could also be programmed, and you would have your answer
From my experience with circuits you can break shit fast and I'm curious how easy it is to tinker without being careful like you can when programming.
But I could not find any link to rhe corporation.