-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add examples in all supported languages #583
Comments
Well, this repo is faulty and not useful.
Originally posted by @stevegury in #364 (comment)
At client, "MethodName" will be convert to "method_name", like this: Lines 98 to 99 in 70d9d75
But for server, "MethodName" is still "MethodName", like: Lines 190 to 192 in 70d9d75
Caused I didn't know why there is an convertion, what is
There is only source code, which is not buildable.
When talking thrift, developers have to distinguish which thrift, apache thrift or fbthrift. |
Thrift holds a significant position in the history of RPC (Remote Procedure Call) frameworks as it is truly a remarkable one and was among the earliest developed in this domain. It once boasted a series of features that made it a popular choice among developers in the early days of RPC development. For instance, it provided efficient ways to enable communication between different services across various programming languages, facilitating the building of distributed systems. However, as the technology landscape has evolved rapidly over time, it's rather disheartening to witness that Thrift's influence in the RPC field has waned to such a considerable extent nowadays. One of the major issues plaguing Thrift is the fragmentation within its community. Specifically, it has diverged into two main branches, namely apache thrift and fbthrift. This split has led to a lack of cohesive development efforts. Different teams or individuals might be working on these separate branches, resulting in inconsistent feature implementations, compatibility challenges between the two variants, and a general confusion for users who are trying to decide which one to adopt. Subsequently, with the emergence of gRPC, which has come to the fore with its own set of powerful features and advantages, Thrift has been gradually overshadowed. gRPC, built on top of the HTTP/2 protocol, offers high performance, seamless cross-language support, and excellent compatibility with the cloud-native ecosystem. It has managed to attract a large number of developers and enterprises, gradually taking over the spotlight in the RPC domain that Thrift once held. This shift in the landscape is truly a pity considering Thrift's historical contributions and potential. |
As far as I can see
fbthrift
supports all major languages which are used at Meta (Hack, Cpp, Rust, Python and Java 1) but the examples directory only contains a simple Python and Cpp client/server example.Hopefully this is just a port of internal examples.
Thanks.
Footnotes
Taken from https://engineering.fb.com/2022/07/27/developer-tools/programming-languages-endorsed-for-server-side-use-at-meta/ ↩
The text was updated successfully, but these errors were encountered: