TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Conway's Game of Life Implemented in Conway's Game of Life

68 pointsby ZhuanXiaabout 5 years ago

2 comments

BenoitPabout 5 years ago
Lots of interesting software around Conway&#x27;s Game of Life. Here is Hashlife [1], where the states of living organisms are hashed; sometimes enabling prediction of all future states.<p>It helps trading-off computation with space, sort of like Halide [2] does.<p>I&#x27;ve been playing a bit of Factorio with the social distancing recently. The bottleneck of mega-bases is often compute power. I wish the developers could implement something akin to Hashlife. The bases are made of the same repeated patterns, all possible states of which could be memoized. This could be the next step in automating to a higher scale.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Hashlife" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Hashlife</a><p>[2] <a href="https:&#x2F;&#x2F;halide-lang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;halide-lang.org&#x2F;</a>
评论 #22852866 未加载
_5659about 5 years ago
The way I understand why this is possible is due to the fact that Game of Life is Turing Complete, and can therefore construct a Universal Turing Machine capable of simulating itself.
评论 #22849823 未加载