(daca nu esti programator, poti sa nu citesti postul asta. )
Ieri Google a facut open-source tehnologia noastra de protocol buffers.
Mi se pare un lucru foarte misto, este una din tehnologiile care face (o parte din) viata unui programator de sisteme distribuite mult mult mai usoara si ale carei beneficii le simt in fiecare zi.
.. we developed Protocol Buffers. Protocol Buffers allow you to define simple data structures in a special definition language, then compile them to produce classes to represent those structures in the language of your choice.
These classes come complete with heavily-optimized code to parse and serialize your message in an extremely compact format.
Best of all, the classes are easy to use: each field has simple “get” and “set” methods, and once you’re ready, serializing the whole thing to โ or parsing it from โ a byte array or an I/O stream just takes a single method call.
Pentru mai multe detalii, cititi postul de pe blogul google-opensource. Acolo explica mai bine unde anume apare nevoia pentru protocol buffers si care sunt unele din design goals.
Documentatia si codul sunt pe site-ul proiectului unde explica foarte concis si ce sunt de fapt protocol buffers astea:
Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.