A-Grunder
My cellular automata does not work
Hello,
I am writing a cellualr automata system in elixir. I think that the problem comes from the cell supervisor (DynamicSupervisor) not creating the cells
This is the repository of my code : https://github.com/A-Grunder/Cellular-Automata-in-Elixir.
Most Liked
dimitarvp
While it’s nice you posted a GitHub repo proving what you need does not work, it’s still considered polite to demonstrate you have made an effort to fix the problem(s).
What have you tried?
benwilson512
Following up on this, I don’t think a process per cell is a particularly good model for how cellular automata work. There’s no real concurrency in play, as the whole program has to operate in a stepwise fashion. Each cell depends on the state of the previous cell, which if those are different processes will result in a lot of message passing.
Now, from a “let’s play with it” standpoint, go for it! But may lower the process count to start with to make debugging easier, and grow it as you gain confidence in how the program is working.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








