Protocol Buffers

from Wikipedia, the free encyclopedia
Protocol Buffers
Basic data

developer Google Inc.
Publishing year 2001
Current  version 3.13.0
( August 15, 2020 )
operating system platform independent
programming language C ++ , Java , Python
category Serialization format and library, IDL compiler
License in parts BSD license
developers.google.com/protocol-buffers

Protocol Buffers ( protobuf ) is a data format for serialization with an interface description language . It was developed by Google Inc. and published in part under a 3-clause BSD license . An official implementation of Google as free software under Apache License 2.0 is provided for a large number of programming languages . The officially supported programming languages ​​include C # , C ++ , Go , Objective-C , Java , Python and Ruby , among others . Many other programming languages ​​such as C or Swift are supported by third-party projects.

The main design criteria of the Protocol Buffers are simplicity and performance . Therefore it is designed as a binary format in contrast to XML , which relies on a textual format.

Protocol Buffers were developed internally at Google from 2001 to 2008. The compiler and the libraries have been available under an open source license since 2008 , and Google's further development can be publicly monitored. Google uses protocol buffers to store and exchange structured data and as the basis for an RPC system for inter-machine communication.

gRPC uses Protocol Buffers as a description language for RPC interfaces and as a format for client-server communication.

See also

Web links

Individual evidence

  1. Release 3.13.0 . August 15, 2020 (accessed August 15, 2020).
  2. Marc Teufel: "Google Protocol Buffers: Mark-Set-Go!" Retrieved December 28, 2016 .
  3. ^ "Third-Party Add-ons for Protocol Buffers: Programming Languages". (No longer available online.) Formerly in the original ; accessed on May 13, 2017 .  ( Page no longer available , search in web archives )@1@ 2Template: Dead Link / github.com
  4. ^ Sean Michael Kerner: A Look at Google's Open Source Protocol Buffer. Retrieved April 27, 2011 .
  5. Kenton Varda: A response to Steve Vinoski . Retrieved July 14, 2008.