欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Apache Thrift
您可以在Wikipedia上了解到此条目的英文信息 Apache Thrift Thanks, Wikipedia. |
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 a lightweight, language-independent software stack with an associated code generation mechanism for RPC. Thrift provides clean abstractions for data transport, data serialization, and application level processing. The code generation system takes a simple definition language as its input and generates code across programming languages that uses the abstracted stack to build interoperable RPC clients and servers.
Thrift is specifically designed to support non-atomic version changes across client and server code.
目录 |
network stack=
Simple representation of the Apache Thrift networking stack
+-------------------------------------------+ | Server | | (single-threaded, event-driven etc) | +-------------------------------------------+ | Processor | | (compiler generated) | +-------------------------------------------+ | Protocol | | (JSON, compact etc) | +-------------------------------------------+ | Transport | | (raw TCP, HTTP etc) | +-------------------------------------------+
Supported
- Cocoa
- CPP
- Erlang
- hs
- Java
- Ocaml
- Perl
- PHP
- Python
- Ruby
Requirements
- 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+