Apache Thrift Library
thrift.apache.org
Apache Thrift Library
1–10 of 13 posts
Re: Apache Thrift Library
#2If I can write my web service in C++ and call it in Javascript, that would be amazing.
Re: Apache Thrift Library
#3This looks like it could solve a lot of problems. I will look into this in greater detail later; I would like to see whether this can be used as a web service. If I can write my web service in C++ and call it in Javascript, that would be amazing.
Re: Apache Thrift Library
#4Re: Apache Thrift Library
#5Is this another protocol buffer implementation, or am I misunderstanding that?
Re: Apache Thrift Library
#6This looks like it could solve a lot of problems. I will look into this in greater detail later; I would like to see whether this can be used as a web service. If I can write my web service in C++ and call it in Javascript, that would be amazing.
If you want to develop a web service in C++, you could check out the available web frameworks, like OKWS[1], CppCMS[2] or TreeFrog[3].
[1]: http://okws.org/doku.php?id=okws [2]: http://cppcms.sourceforge.net/wikipp/en/page/main [3]: http://www.treefrogframework.org/
Re: Apache Thrift Library
#7This looks like it could solve a lot of problems. I will look into this in greater detail later; I would like to see whether this can be used as a web service. If I can write my web service in C++ and call it in Javascript, that would be amazing.
Not to take away from thrift in any way but could you not do this already using any portable serialisation method? Json has c++ and JavaScript (de)serialisation implementations as does XML. Combined with a Rest-ful web service api surely it doesn't matter what the transport mechanism is?
Web Services and the associated HTTP headers are relatively slow, but browsers can make them, so are kind of necessary.
Re: Apache Thrift Library
#8This looks like it could solve a lot of problems. I will look into this in greater detail later; I would like to see whether this can be used as a web service. If I can write my web service in C++ and call it in Javascript, that would be amazing.
Not to take away from thrift in any way but could you not do this already using any portable serialisation method? Json has c++ and JavaScript (de)serialisation implementations as does XML. Combined with a Rest-ful web service api surely it doesn't matter what the transport mechanism is?
Re: Apache Thrift Library
#9Re: Apache Thrift Library
#10Is this another protocol buffer implementation, or am I misunderstanding that?
Actually, it's from the same guy who implemented protocol buffers when he was at google. He re-implemented a better protocol buffers for facebook and chose to call it Thrift.