C++

C++ is one of the most popular programming languages these days. It is a universal, general purpose language, which is useful in a wide range of applications, including desktop, servers, networking, embedded systems, databases, and lots more. Apache Thrift is a natural companion for C++ to provide highly scalable systems characterized by high performance.

Generating the code

Apache Thrift's compiler offers a rich choice of options for C++. Run the following command to see them:

$ thrift --help

Look for the information about C++ generators:

  cpp (C++)
    cob_style:       Generate "Continuation OBject"-style classes.
    no_client_completion:
                     Omit calls to completion__() in CobClient class.
    no_default_operators:
 Omits generation of default operators ==, ...

Get Learning Apache Thrift now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.