O'Reilly logo

Learning Apache Thrift by Krzysztof Rakowski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Generating and Running Code in Different Languages

In the previous chapter, we ran through the internals of Apache Thrift, to give you the skills needed to design your own services. By now you should be able to define your interface description file, compile it with Thrift tool, run the server and launch the client. You also saw how the code looks like in two popular programming languages (PHP and Python).

Now, we will dive even deeper, looking into the code that Apache Thrift generates, but also covering a broader spectrum of programming languages. At the time of writing, there are libraries for 23 languages in the Apache Thrift code repository. Here, I will cover six of the most popular ones:

  • PHP
  • Java
  • Python
  • JavaScript
  • Ruby
  • C++

Each language ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required