What protocol preferred to use for interaction between Python-code and Erlang-code over Internet? ASN.1 would be ideally for me, but its implementation in Python cannot generate encoder/decoder out from notation.
+3
A:
Did you check Google's protocol buffers? It is very easy to use and there is an Erlang implementation available
Nadia Alramli
2010-04-23 20:41:15
Thank you, I'll see it also.
Maxim 'Zert' Treskin
2010-04-24 03:25:22
+4
A:
Well, you could use JSON or BERT.
JSON is easily reable by humans, as it is ASCII only. To send binary data, you need to encode them (e.g. with base64).
Another solution would be using BERT. BERT is based on the "erlang external binary format" for serialization, so the erlang side is pretty simple ;)
ZeissS
2010-04-23 21:05:44
+4
A:
Also, you might want to have a look to Apache Thrift, an IDL supporting both Python and Erlang.
Roberto Aloi
2010-04-24 09:59:43