There are a couple of neat projects out that offer lightweight binary formats for sending messages across the wire, namely Protocol Buffers (Google) and Thrift (Facebook). Both options give you an extensible mechanism for defining messages and encoding/decoding them in just about any useful programming language.
I’ve been evaluating Thrift as well as Protocol Buffers and found out that even though Thrift is very feature rich, it lacks sorely in documentation. In fact their documentation goes something like:
How to bake a cake
Step 1: Bake the cake.
So I thought I would talk about my experiences getting it running. This tutorial isn’t extremely useful for someone wanting to learn how to build applications on top of Thrift, but it should at least get the sample code running for you.
Disclaimer: I’m running a Intel Macbook with OSX 10.5.5, if your system is different your experience my differ.
(More …)
michael.greene 12:59 pm on December 31, 2008 Permalink |
Hi Steven,
This is a common problem building on OSX. The solution in the Thrift FAQ may be simpler for you–you shouldn’t need to explicitly disable C# support:
http://wiki.apache.org/thrift/FAQ