Coder Social home page Coder Social logo

protocol-protobuffs's Introduction

ReDoc logo

Protocol Specification

Discord GitHub followers GitHub stars Twitter Follow Subreddit subscribers

Build Status

Table of Contents

Background

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

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

Usage

TODO. We don't have this section done yet. If you'd like to help us by opening a PR for it, please do so!

Contribute

Take a look at our organization-wide Contributing Guide. You'll find most of your questions answered there.

As far as code goes, we would be happy to accept PRs! If you want to work on something, it'd be good to talk beforehand to make sure nobody else is working on it. You can reach us on Discord, or in the issues section.

Please note that we have a Code of Conduct, and that all activity in the @catalyst-network organization falls under it. Read it when you get the chance, as being part of this community means that you agree to abide by it. Thanks.

License

GPL © 2019 Catalyst Network

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.