hi karl,

i'm forwarding this to the the rpyc group to give them an update as well.

you can check out http://agnos.sourceforge.net/ -- the docs are very limited
at the moment,
since i'm still pending on our company's lawyers to approve it, but it
should happen within
a week or two.

it's called agnos, and it consists of a compiler (written in python), that
takes an
XML-based IDL and produces server and client bindings for various languages.
it's conceptually
like SOAP or CORBA, but lightweight, straightforward and efficient.

i also wrote a tool called srcgen that reads special comments in python
packages and
creates the IDL for you, as well as a server, so you only need to add some
comments
and it's almost as transparent as rpyc -- but across multiple languages.

you can see a simple example here: http://agnos.sourceforge.net/srcgen.html

at the moment it supports C#, java, python and C++. i will soon add a
RESTful interface,
and probably XML-RPC too, so that unsupported languages could use these
interfaces,
as these exist for all languages.

it's not as transparent as rpyc, since you do need to specify what you
expose and the types of
the exposed objects, but on a brighter side, it's cross-language, and safer,
as you know
exactly what can be marshalled and what not, and what passes by-value vs.
by-ref.
you have full control of everything, which makes it ideal for real-life
services, where
security is real concern.

> Can you describe this a bit:
>      - written in Python?
yes, as well as other languages

>      - supporting Python 3.1 ?
yes, but not yet tested

>      - similar performance as rpyc?
should be even better, since you can control what passes by-ref and what
by-val,
as well as using a compact binary protocol

>      - similar functionality / transparency?
yes. see http://agnos.sourceforge.net/teaser.html for some sample client
code in python


-tomer

An NCO and a Gentleman


On Fri, Oct 22, 2010 at 23:23, Karl Waedt <[email protected]> wrote:

> Hello Tomer,
>
> You mentioned in a news thread:
>
> "and on a brighter note, Agnos, a new project of mine is soon to be
> released
> to open source (pending on my company's lawyers).
> it's a *cross-language* RPC framework (like SOAP/WSDL/CORBA), only
> lightweight and compact."
>
> Can you describe this a bit:
>      - written in Python?
>      - supporting Python 3.1 ?
>      - similar performance as rpyc?
>      - similar functionality / transparency?
>
> Thank you!
>
> Karl
>

Reply via email to