现在的位置: 首页 > 综合 > 正文

Thrift

2013年08月04日 ⁄ 综合 ⁄ 共 2639字 ⁄ 字号 评论关闭
文章目录

http://developers.facebook.com/thrift/

Thrift is a software framework for scalable cross-language services development. It combines a powerful software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, python, PHP, and Ruby. Thrift was developed at Facebook, and we are now releasing it as open source.

 

Thrift is released under the Thrift Software License.

You can also get the latest source code from the public svn repository.

Overview

Thrift allows you to define data types and service interfaces in a simple definition file. Taking that file as input, the compiler generates code to be used to easily build RPC clients and servers that communicate seamlessly across programming languages.

Besides downloading the source code, there are two easy ways to learn more about Thrift:

Thrift is one of Facebook's core software engineering resources. It is used in various ways across many products, including: Search, Mobile, Posts, Notes, Feed, Platform. If you use the site, you've used Thrift.

Requirements

Thrift has been widely tested and deployed on Facebook's systems. Though the code is designed for portability, we can't guarantee that it will run on every system. Here are some basic things you will want to have. (Note that you do not need to have every language package installed if you only intend to use some of them.)

  • A relatively POSIX-compliant *NIX system
  • GNU build tools (Autoconf 2.59c+)
  • boost 1.33.1+
  • g++ 4.0+
  • Java 1.5+ / Apache Ant
  • python 2.4+
  • PHP 5.0+
  • Ruby 1.8+

Think this sounds like a fun thing to work on? Submit a patch or join the team.

Problems or suggestions? Sign up for the mailing list and check out the developers group. If that doesn't help, contact us.

会不会比ICE更酷更好?有时间的时候可以关注一下。

 

抱歉!评论已关闭.