puniverse / quasar

Fibers, Channels and Actors for the JVM
http://docs.paralleluniverse.co/quasar/
Other
4.56k stars 575 forks source link

erlang interop #22

Open ulises opened 10 years ago

ulises commented 10 years ago

It'd be great if pulsar actors could exchange messages directly with erlang processes.

Consider this a vague feature request :)

ulises commented 9 years ago

I went ahead and wrote https://github.com/ulises/sliver to this extent. I've done some minimal testing, and with some bookkeeping, one can have pulsar/quasar actors talk to native erlang processes.

If I knew which Actor to extend/subclass I could further integrate things. Any thoughts?

pron commented 9 years ago

ActorImpl

ulises commented 9 years ago

Thanks!

ulises commented 9 years ago

I wrote a thing for erlang interop with Clojure (I know there's jinterface, etc.).

I've also added a hack on how you could tie pulsar actors with this, talking to erlang native processes. See:

pron commented 9 years ago

I'm getting "Access Denied" at that repo.

ulises commented 9 years ago

Apologies, try this:

pron commented 9 years ago

Oh, wow! So you've implemented the protocol from scratch! Good job!

ulises commented 9 years ago

Ah, heh, yes. Not that big a deal, it's just following the docs and parsing binaries. The real work is on top of that :)