Unit: A self-replicating Forth mesh agent running in a browser tab (davidcanhelp.github.io)

by DavidCanHelp 5 comments 46 points
Read article View on HN

5 comments

[−] veltas 46d ago
Could do with examples relating to the "self-replicating" nature.

Also should indicate it's case-insensitive, and the tutorial should be more permissive about how you type the examples e.g. typing lower case should be okay.

Missing a lot of basic words like HERE and , but I'm guessing this is to do with limitations of the underlying memory model, but there's not a lot of info on how to achieve arrays/lists without it.

[−] DavidCanHelp 44d ago
[dead]
[−] DavidCanHelp 44d ago
After you try the WASM, don't forget to try the native version: cargo install unit
[−] andai 46d ago
Very interesting. What are goals, fitness and mutation in this context?
[−] DavidCanHelp 44d ago
[dead]
[−] wisdomtreelzz 46d ago
Interesting idea
[−] DavidCanHelp 44d ago
Thanks! It's been a fun project to build. The live demo only scratches the surface — the native CLI (cargo install unit) does real UDP mesh networking, persistence, and cross-machine coordination. More coming soon.
[−] DavidCanHelp 44d ago
[dead]