[Twisted-Python] Implementation of the Erlang node protocol
Hello people, I want to point out to a project I started in my Twisted sandbox to implement the Erlang node protocol: http://twistedmatrix.com/trac/browser/sandbox/therve/erlang. It's vaguely inspired from the py_interface project: http://www.lysator.liu.se/~tab/erlang/py_interface/. What's the content? It allows you to create a hidden Erlang node as a Twisted process, so that you can call methods on another Erlang node and receive calls (like you can do with C or Java with standard erlang distribution). It implements serialization and deserialization for most of the basic types, and both direction RPC. The benefit, of course, is to be able to get all Twisted protocols for free inside an Erlang program, or on the contrary to access Erlang power inside a Twisted server. I'm even writing a lit bit of documention: http://twistedmatrix.com/trac/browser/sandbox/therve/erlang.xhtml?format=raw. I started it hoping to use it for something serious, but I couldn't, so now the project is a bit stalled until someone really use it. I'd be glad if it could be useful for anyone, and I'm willing to help by debugging and adding features. You can contact me on the #twisted channel or on this ML. -- Thomas
That is waaaaay too cool. I've got to try this out. Steve On Mon, 2007-12-24 at 19:27 +0100, Thomas Hervé wrote:
Hello people,
I want to point out to a project I started in my Twisted sandbox to implement the Erlang node protocol: http://twistedmatrix.com/trac/browser/sandbox/therve/erlang. It's vaguely inspired from the py_interface project: http://www.lysator.liu.se/~tab/erlang/py_interface/.
What's the content? It allows you to create a hidden Erlang node as a Twisted process, so that you can call methods on another Erlang node and receive calls (like you can do with C or Java with standard erlang distribution). It implements serialization and deserialization for most of the basic types, and both direction RPC. The benefit, of course, is to be able to get all Twisted protocols for free inside an Erlang program, or on the contrary to access Erlang power inside a Twisted server. I'm even writing a lit bit of documention: http://twistedmatrix.com/trac/browser/sandbox/therve/erlang.xhtml?format=raw.
I started it hoping to use it for something serious, but I couldn't, so now the project is a bit stalled until someone really use it. I'd be glad if it could be useful for anyone, and I'm willing to help by debugging and adding features. You can contact me on the #twisted channel or on this ML.
Thomas,
This is absolutely fantastic! We are currently using twisted for some
parallel/distributed computing stuff in Python. While overall we are
very happy with twisted, we have begun looking into Erlang for certain
things and this could make a huge difference for us. We wouldn't
actually begin work on this front for a while, but we will keep an eye
on how this develops. Also if we go this direction we could likely
help with the effort.
Brian
On Dec 24, 2007 11:27 AM, Thomas Hervé
Hello people,
I want to point out to a project I started in my Twisted sandbox to implement the Erlang node protocol: http://twistedmatrix.com/trac/browser/sandbox/therve/erlang. It's vaguely inspired from the py_interface project: http://www.lysator.liu.se/~tab/erlang/py_interface/.
What's the content? It allows you to create a hidden Erlang node as a Twisted process, so that you can call methods on another Erlang node and receive calls (like you can do with C or Java with standard erlang distribution). It implements serialization and deserialization for most of the basic types, and both direction RPC. The benefit, of course, is to be able to get all Twisted protocols for free inside an Erlang program, or on the contrary to access Erlang power inside a Twisted server. I'm even writing a lit bit of documention: http://twistedmatrix.com/trac/browser/sandbox/therve/erlang.xhtml?format=raw.
I started it hoping to use it for something serious, but I couldn't, so now the project is a bit stalled until someone really use it. I'd be glad if it could be useful for anyone, and I'm willing to help by debugging and adding features. You can contact me on the #twisted channel or on this ML.
-- Thomas
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (3)
-
Brian Granger
-
Steve Freitas
-
Thomas Hervé