开发者

C++ and Thrift: Reference needed to get started

I have read about Thrift while trying to find out how to use Google Protocol Buffe开发者_JS百科rs. I have been searching for some reference that shows how to go about using it with a simple working example for C++. It's been frustrating not being able to find any such site. It is a bit surprising that almost all the examples use Java, a language that has cross-platform RMI already at its disposal. May be I have missed something in searching, and I would very much appreciate if anyone can give a reference to a tutorial with a working example, however small. TIA, -Sviya


I've never used Thrift, but Googling for "thrift" brought me to this page - http://incubator.apache.org/thrift/ - which has a C++ example at the bottom of the page.

The thrift wiki has this page - http://wiki.apache.org/thrift/ThriftUsageC%2B%2B - which has more info on using it with C++


Also, once when you install thrift in folder tutorial you have example of thrift file, server&client implementations in different languages and README file.

This is good place to start!


Because there were no tutorial on the web, I created one in my blog. You can check my full tutorial about Thrift in: My Blog

Since it's too long, I cannot post my answer here. But I think my blog is a good resource for anyone who wants to get started with Thrift.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜