Arto's Notes re:
Protocol Buffers
Table of Contents
- https://opensource.google.com/projects/protobuf
- https://developers.google.com/protocol-buffers/
- https://developers.google.com/protocol-buffers/docs/proto3
- https://twitter.com/hashtag/protobuf?lang=en
- https://github.com/protocolbuffers/protobuf
- https://stackoverflow.com/tags/protocol-buffers
Languages
- C++
- C#
- Dart
- Elixir (third-party)
- Erlang (third-party)
- Go
- Java
- JS
- OCaml (third-party)
- Objective-C
- PHP
- Python
- Ruby
Installation
$ mix --force escript.install hex protobuf # Elixir
$ go get github.com/golang/protobuf/protoc-gen-go # Go
$ npm install google-protobuf # Node.js
$ pecl install protobuf # PHP
$ pip3 install protobuf # Python 3
$ gem install google-protobuf # Ruby
Installation on macOS
https://github.com/Homebrew/homebrew-core/blob/master/Formula/protobuf.rb
$ brew install protobuf
Installation on Alpine
https://pkgs.alpinelinux.org/package/edge/main/x86_64/protobuf
$ apk add protobuf
Installation on Ubuntu
https://packages.ubuntu.com/libprotobuf-dev
$ sudo apt install libprotobuf10 libprotobuf-dev
Tutorials
Basics
See Also
- Arto’s Notes re: gRPC, polyglotism