Coder Social home page Coder Social logo

langdead / fbthrift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebook/fbthrift

0.0 2.0 0.0 7.44 MB

Facebook's branch of Apache Thrift, including a new C++ server.

License: Apache License 2.0

C++ 64.33% C 1.85% Python 8.32% LLVM 0.14% Emacs Lisp 0.06% Vim Script 0.03% Shell 0.24% TeX 0.59% Objective-C 1.15% Thrift 1.28% Protocol Buffer 0.01% D 8.09% Go 3.50% Haskell 1.32% Perl 0.84% Java 7.56% JavaScript 0.05% Makefile 0.22% OCaml 0.39% Perl 6 0.02%

fbthrift's Introduction

FBThrift: Facebook's branch of apache thrift

The main focus of this package is the new C++ server, under thrift/lib/cpp2. This repo also contains a branch of the rest of apache thrift's repo with any changes Facebook has made, however the build system only supports cpp2.

Apache thrift is at http://thrift.apache.org/

Building

Note that under GCC, you probably need at least 2GB of memory to compile fbthrift. If you see 'internal compiler error', this is probably because you ran out of memory during compilation.

Dependencies

  • Facebook's folly library: http://www.github.com/facebook/folly

  • In addition to the packages required for building folly, Ubuntu 13.10 and 14.04 require the following packages (feel free to cut and paste the apt-get command below):

  sudo apt-get install \
      flex \
      bison \
      libkrb5-dev \
      libsasl2-dev \
      libnuma-dev \
      pkg-config \
      libssl-dev

For your convenience, a build script is provided for ubuntu 14.04 64-bit:

cd fbthrift/thrift
./deps.sh

It will automatically pull down folly and build it, and then configure and build thrift.

  • Ubuntu 14.04 64-bit requires the following packages:

    • make
    • autoconf
    • libtool
    • g++
    • libboost-dev-all
    • libevent-dev
    • flex
    • bison
    • libgoogle-glog-dev
    • libdouble-conversion-dev
    • scons
    • libkrb5-dev
    • libsnappy-dev
    • libsasl2-dev

Docs

Some docs on the new cpp2 server are at: https://github.com/facebook/fbthrift/blob/master/thrift/doc/Cpp2.md

fbthrift's People

Contributors

alandau avatar ckwalsh avatar ddrcoder avatar mhorowitz avatar dcsommer avatar yfeldblum avatar mcdufffb avatar mshneer avatar philippv avatar tudor avatar roticv avatar andrewjcg avatar fried avatar rushidesai avatar jesboat avatar andrewcox avatar shamdor-fb avatar gownta avatar simpkins avatar aazzolini avatar scannell avatar meyering avatar viswanathgs avatar dorserg avatar sgolemon avatar bugok avatar hiteshk avatar alikhtarov avatar deadalnix avatar afrind avatar

Watchers

James Cloos 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.