On Fri, Apr 10, 2009 at 10:09 PM, John Yang <
bigj...@gmail.com> wrote:
> On Fri, Apr 10, 2009 at 12:34 AM, arschles <
arsc...@gmail.com> wrote:
>>
>>> Actually, thinking about this again, I'm not so sure why the end users
>>> would want to use other serialization methods than binary packing (how
>>> it is currently). Binary packing is much more efficient than
>>> ascii-like methods or pickle. However, it is a bit less convenient.
>>> For example, you do need to specify the attribute types in terms of c
>>> types for every message that you intend to send across processes or
>>> network. Pysage also provides a few custom types on top of ctypes.
>>
>> Agreed. However, the place that I could see an HTTP transport method
>> (ie: that sends JSON data) would be for easy interoperability between
>> pysage and other code that wants to communicate with pysage actors.
>> Sounds like that is something that can wait until we get the
>> networking stack in order. What do you think?
>
> Sounds good.
>
>>
>>> Having said that, we do need an abstraction layer on top of the
>>> network protocol, for which the serialized data is delivered
>>
>> As I understand, a transport derivative could be created that doesn't
>> use RakNet at all and implements "raw" UDP passing. I'm going to look
>> at implementing that.
>
> Yea, both a raw TCP and UDP transport would be valuable, especially
> the TCP transport since it's much more stable than UDP in
> "non-realtime" applications such as first person shooter games.