← Back to context

Comment by xyheme

1 year ago

> About the game of life.

In the paper "Interaction Nets" ( https://github.com/cicada-lang/inet/blob/master/docs/referen... ), there is an example of 1-dimensional Cellular Automata. (Section 1.4. Example: Cellular Automata).

> About the stack-based layer of the language.

I have some concerns about it when deciding to use it, because it is so different from common programming languages. I am comfortable with postfix notation, because I am familiar with the Forth language ( https://en.wikipedia.org/wiki/Forth_(programming_language) ).

> About Rearrange.

I will improve the docs about it.

> About `closeAllFreePorts`

If `closeAllFreePorts` is the culprit, maybe it is because of my wrong implementation of the web frontend (not the language).

I should not call `closeAllFreePorts` in a loop.

see: https://github.com/cicada-lang/inet-website/blob/master/src/...

and: https://github.com/cicada-lang/inet-website/blob/master/src/...

It is a bug that I should fix.

I also implemented a command line program and a REPL: https://github.com/cicada-lang/inet#command-line-tool

Maybe a few thousand steps will not be slow there.