5 ms·
Not knowing anything about the field, are there any practical uses left for analog computation? Is there anything they can do that isn't done just as effectivel
by crazygringo 3y ago
Not knowing anything about the field, are there any practical uses left for analog computation? Is there anything they can do that isn't done just as effectively digitally by now?
- d_silin 3y agoYou can approximate low-precision digital operations with analog at better energy efficiency. https://mythic.ai/ https://mythic.ai/ is trying.
- deleted 3y ago[deleted]
- einpoklum 3y agoPotentially, lots! Whenever your computation allows for some small error, or is performed on fractional values (e.g. floating-point) - you could instead imagine doing it analogically. Think of the possibilities of zero-cost atomic addition in parallel, for example. Think about having "semi-real" neuronal responses instead of simulating neural network layers via precise binary computations. And then you can go into more exotic things like computing by wave interference patterns and such.
- bee_rider 3y agoIs an analog computer more like a floating point operation, or more like a fixed-point operation (that is; not necessarily one without any decimal place, but maybe one without an exponent field)? 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.
- einpoklum 3y ago> more like a floating point ... or more like a fixed-point ... ? 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/p0037r6.html 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 https://github.com/MikeLankamp/fpm and I'm sure they have received some attention in other languages.
- dahart 3y ago> 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.
- atoav 3y agoAdding to the other positives listed here another one is low latency. If you absolutely need to do it fast, analog computers are hard to beat.
- corethree 3y agoNo there are no practical uses other than speed and energy efficiency as analog computers can be fully simulated by digital computers today. There's no clock speed in analog computation. You feed in raw voltage into the inputs and you get the resulting voltage from the outputs. So it's literally the fastest possible result achievable with our current electrical technology. 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.
- uticus 3y agoAs pointed out in another comment on this post [0], it would be an "FPAA," [1] and it has been manufactured. [0] https://news.ycombinator.com/item?id=38812160 https://news.ycombinator.com/item?id=38812160 [1] https://en.m.wikipedia.org/wiki/Field-programmable_analog_array https://en.m.wikipedia.org/wiki/Field-programmable_analog_ar...
- corethree 3y agoOh didn't know this.
- dahart 3y agoDon’t speed and efficiency make up the entire set of practical uses for digital computing? I don’t know what it means to say “No there are no practical uses other than speed”. That sounds like the answer summary is “Yes”. ;) > 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.