Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
airstrike
on Oct 8, 2021
|
parent
|
context
|
favorite
| on:
GPU.js
Conway's Game of Life demo:
https://observablehq.com/@brakdag/conway-game-of-life-gpu-js
etaioinshrdlu
on Oct 8, 2021
|
next
[–]
I made a Game of Life demo using tensorflow.js:
https://jsfiddle.net/5jobgzpq/2/
modeless
on Oct 9, 2021
|
parent
|
next
[–]
Which one is faster?
etaioinshrdlu
on Oct 10, 2021
|
root
|
parent
|
next
[–]
I'm guessing the tensorflow.js is pretty bad due to lots of temporary tensors. Although, it uses a convolution operator, and that part is probably relatively good.
tboerstad
on Oct 9, 2021
|
parent
|
prev
|
next
[–]
Thanks for the demo, clever implementation.
etaioinshrdlu
on Oct 10, 2021
|
root
|
parent
|
next
[–]
Can anyone think of a way to reduce the number of operators further? Less == and OR operations done after the convolution?
miyuru
on Oct 9, 2021
|
prev
|
next
[–]
I just googled "Conway's Game of Life" to know more about it and they had a special search page with it running on the side.
https://www.google.com/search?q=Conway%27s+Game+of+life
ngcc_hk
on Oct 9, 2021
|
prev
[–]
Any source?
airstrike
on Oct 9, 2021
|
parent
[–]
It's in the link, just click through the notebook
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: