aitoroses / erlang-js

MIT License
4 stars 0 forks source link

Just saying hi! #1

Open naissur opened 7 years ago

naissur commented 7 years ago

Just wanted to offer help on this project. It is a great idea! Do you need any help?

aitoroses commented 7 years ago

Hi @Naissur, I'm trying to replicate some idioms of Erlang/Elixir and Beam in javascript.

When I get some time, I want to implement OTP behaviors in this repo with a nice API (GenServer, Agent, Supervisor, GenStage, A graph like observer.start() would be a nice to have too...).

Currently Processes are nearly working perfect, I have to bring in more tests for the ProcessSystem API's.

The idea later is to have a swarm of Node.JS processes or even browsers via WebRCT, communicating like they were Beam VM nodes in a cluster. It's really ambitious to get it working nicely everything together, but I think is a great project to start, I haven't done nothing yet on this.

naissur commented 7 years ago

Nice! I came up with a similar idea, only by building OTP library to be used in pair with tools like redux-saga, React & etc. github link here. So, by joining forces I think we can create something meaningful, don't you think? :)

naissur commented 7 years ago

Currently only a testable version of supervisor behavior is implemented, and it looks quite promising.