Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



I made a Game of Life demo using tensorflow.js: https://jsfiddle.net/5jobgzpq/2/


Which one is faster?


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.


Thanks for the demo, clever implementation.


Can anyone think of a way to reduce the number of operators further? Less == and OR operations done after the convolution?


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


Any source?


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: