From my first look at thrift some time ago, that's more about API and not about 
the actual payload, is it?

How about I try to do a protobuf version of the "s7-protocol" and you give 
thrift a try? Another option would be the DFDL option.

Chris

Am 09.01.19, 11:13 schrieb "Julian Feinauer" <[email protected]>:

    Hi Chris,
    
    we worked (and work) with Thrift [1] at several places.
    Thrift is a strong contender to protobuf and both have their specific 
advantages and disadvantages.
    Perhaps I would prefer Thrift as it comes from the Apache Ecosystm (and 
supports more langauges) but generally, Tim can say more about working with 
Thrift.
    
    Best
    Julian
    
    [1] https://thrift.apache.org/
    
    Am 09.01.19, 10:45 schrieb "Christofer Dutz" <[email protected]>:
    
        Hi all,
        
        while I’m currently working on refactoring the S7 driver to a simpler 
structure so we can convert it to other languages more easily. A colleague of 
mine pointed me to protobuf/protocol buffers from google [1]
        From a quick look at it, it does seem as if it could suit our needs 
quite nicely. I would like to try out if it’s possible to model the S7 data 
structures in this way. If it works we could eventually quickly create 
something that serializes/deserializes given data in any language …
        
        It seems to be a lot simpler than the DFDL [2] I was thinking of, so 
guess we have to find out if it has all the capabilities we need.
        
        Any thoughts?
        
        Chris
        
        
        
        
        [1] https://developers.google.com/protocol-buffers/docs/javatutorial
        [2] https://en.wikipedia.org/wiki/Data_Format_Description_Language
        
        
    
    

Reply via email to