project-iris / iris

Decentralized cloud messaging
iris.karalabe.com
Other
571 stars 32 forks source link

Add Python bindings #19

Open thedrow opened 10 years ago

thedrow commented 10 years ago

Can we use something like gopy in order to generate Python bindings for iris?

karalabe commented 10 years ago

I'm not familiar with gopy, but skimming through it and the overview docs, it seems gopy generates a C bridge between Python and Go. The project also mentioned that when threading comes into play (iris-go is very goroutine heavy), its very much alpha state.

A better alternative would be simply to implement the relay protocol directly in Python to access Iris. It is a fairly simple protocol, doable in a few days max. If there is interest, I will start an iris-py project.

One thing that would be important before proliferating the bindings is to stabilize and document the relay protocol (i.e. between a client lib and Iris). I've opened an issue #21 and #22 to address this.