Git Product home page Git Product logo

protocol-protobuffs's Introduction

catalyst-network-protocol-protobuffs

The Catalyst Network protocol is defined using the Protobuffs seralisation format.

Build Status

Build Status

What's a Protobuff?

From Google - https://developers.google.com/protocol-buffers/

Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

Why Protobuffs

Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.

From Google - https://developers.google.com/protocol-buffers/docs/overview

Protocol buffers have many advantages over XML for serializing structured data. Protocol buffers are:

  • simpler,
  • 3 to 10 times smaller,
  • 20 to 100 times faster,
  • less ambiguous and
  • generate data access classes that are easier to use programmatically

But the biggest benefit to Catalyst Network is the interoperability offered by protobuffs. Protobuffs are implemented in a variety of languages and allow us to quickly generate code for you to interact and build upon the Catalyst Network! No more figuring out some obscure language or having to learn snowflaked schemas.

Install Protobuffs

To install protobuffs on Ubuntu:

  • Make sure you grab the latest version
    • $ curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
  • Unzip
    • $ unzip protoc-3.2.0-linux-x86_64.zip -d protoc3
  • Move protoc to /usr/local/bin/
    • $ sudo mv protoc3/bin/* /usr/local/bin/
  • Move protoc3/include to /usr/local/include/
    • $ sudo mv protoc3/include/* /usr/local/include/
  • Optional: change owner
    • $ sudo chwon [USER] /usr/local/bin/protoc
    • $ sudo chwon -R [USER] /usr/local/include/google

protocol-protobuffs's People

Contributors

franssl avatar jayarrowz avatar millymanz avatar monsieurleberre avatar nshcore avatar paulinebernat avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.