If you want to use PCRE when building HAProxy on your mac (recommended by the docs) and you've installed PCRE using MacPorts (sudo port install pcre), you may need to tweak Makefile.osx to help it find the headers, otherwise you'll see a whole slew of errors starting with this:
MoreSource on GitHub: http://github.com/JoelPM/BidiThrift
MoreIf you're using files to pass data around between different components of a system it may make sense to use Thrift. Doing so means you get smaller file sizes (assuming you do binary serialization) but still have files that can be easily read in many programming languages.
More