TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Catalytic computing taps the full power of a full hard drive

80 点作者 sonabinu3 个月前

4 条评论

Roxxik3 个月前
So the trick is to do the computation forwards, but take care to only use reversible operations, store the result outside of the auxiliary &quot;full&quot; memory and then run the computation backwards, reversing all instructions and thus undoing their effect on the auxiliary space.<p>Which is called catalytic, because it wouldn&#x27;t be able to do the computation in the amount of clean space it has, but can do it by temporarily mutating auxiliary space and then restoring it.<p>What I haven&#x27;t yet figured out is how to do reversible instructions on auxiliary space. You can mutate a value depending on your input, but how do you use that value, since you can&#x27;t assume anything about the contents of the auxiliary space and just overwriting with a constant (e.g. 0) is not reversible.<p>Maybe there is some xor like trick, where you can store two values in the same space and you can restore them, as long as you know one of the values.<p>Edit: After delving into the paper linked in another comment, which is rather mathy (or computer sciency in the original meaning of the phrase), I&#x27;d like to have a simple example of a program that can not run in it&#x27;s amount of free space and actually needs to utilize the auxiliary space.
评论 #43123534 未加载
评论 #43095812 未加载
评论 #43127052 未加载
评论 #43095525 未加载
评论 #43094583 未加载
评论 #43095024 未加载
评论 #43096981 未加载
Animats3 个月前
This is very similar to an old approach to LISP garbage collection. All of memory is a tree of small cells. You need to walk the the tree and don&#x27;t have space for a stack of the links that got you to where you are. So you store the backlinks in the forward links by XORing the forward link with the backlink. As the tree-walker backs down the tree, the links are XORed again, restoring the forward link.
评论 #43095601 未加载
bilegeek3 个月前
Found the original paper outside of the paywall:<p><a href="https:&#x2F;&#x2F;iuuk.mff.cuni.cz&#x2F;~koucky&#x2F;papers&#x2F;catalytic.pdf" rel="nofollow">https:&#x2F;&#x2F;iuuk.mff.cuni.cz&#x2F;~koucky&#x2F;papers&#x2F;catalytic.pdf</a><p>The ~koucky&#x2F;papers&#x2F; root is also a goldmine of papers, including another catalytic one.
tippytippytango3 个月前
If I give you a hard drive full of photos, you could compress them, use the excess hard drive space for your algorithm, then uncompress the photos and give a full hard drive back to me. Is that’s what’s going on here?<p>Basically it’s exploiting unused channel capacity of the memory if the Shannon entropy isn’t maxed out?
评论 #43094839 未加载
评论 #43095564 未加载