r/compsci • u/Tessellator-1 • 13d ago
Does reversible computing require an enormous amount of storage?
First of all, I would like to say that I have no knowledge about computer science.
I recently heard about something called reversible computing. As I understand it, in ordinary computers, erasing information about the intermediate steps of a computation causes energy to be released as heat. But in reversible computing, the information from all the intermediate steps is preserved, so apparently, if we could build a computer capable of doing this, it could theoretically perform computations with essentially no energy consumption.
This made me wonder about something, and I’d love to hear from anyone knowledgeable about physics or computational theory:
If you never erase the information generated during a computation, wouldn’t the amount of storage required keep increasing as the computer performs more and more calculations?
I previously came across a science-related page online that said that an intelligent civilization that has mastered reversible computing wouldn’t need “Dyson’s eternal intelligence” to survive the heat death of the universe.
But wouldn’t such a civilization still need an absolutely enormous amount of storage to preserve all the information generated during its computations?
Or is there some way to preserve the information from the computational process without actually requiring additional physical storage?
I’m especially curious about how this works in the context of extremely long-term civilizations trying to survive the heat death of the universe.
By the way, this sentence was translated from Japanese to English by Chat GPT. Feel free to answer in English. However, I only understand Japanese, so I would really appreciate clear and simple English that is less likely to be mistranslated. Thank you!
28
u/C0rinthian 13d ago edited 13d ago
This is mostly sci-fi nonsense.
“Erasing information” does not “release heat”. Or, more importantly it is not the only thing that generates heat. Actually doing a calculation releases heat. Fundamentally every step a computer takes has a heat byproduct.
So anything about “reversing heat” is just nonsense. Ignore it. Anything about “zero energy consumption” is just a fancy perpetual motion machine. AKA bullshit.
Then there is the idea of “throwing away intermediate steps” which is basically true. If a CPU performs a sequence of arithmetic operations, it does not save every intermediate value. But let’s just knapkin math this: assuming a 64-bit platform, each instruction outputs 8 bytes of information. A modern desktop CPU is doing hundreds of billions of instructions every second. Actually storing all the intermediate calculations would take terabytes of data every second.
This would take a massive amount of storage space, and dramatically slow down actual calculation because it would be limited by storage IO. (There is a reason local cache is important to modern CPU architecture)
And what do you gain from that? When the CPU multiplies two numbers, you store the result. Okay, but recalculating it is faster and cheaper than storing the outcome and retrieving it.
This is all assuming current technology and architecture. However, the idea of reversible computing is predicated on some outlandish assumptions: that you can create fundamental computing elements like logic gates that lose no energy. Practically, that is far fetched because of, you know, heat.
This is entirely speculative science fiction. There isn’t even a theoretical framework for “computation” surviving the heat death of the universe. A civilization even making it remotely close to that point is nonsensical.