[cfe-dev] Clang server with Thrift

Sean Silva silvas at purdue.edu
Sat Jan 5 12:45:38 PST 2013


On Fri, Jan 4, 2013 at 3:36 PM, Piotr Kukiełka <piotr.kukielka at gmail.com> wrote:
> IMHO possible solution to the problem would be to use Thrift to define
> Clang API.
> It would be based on current C API, with changes when needed (Thrift
> support only passing by value).
> That would allow us to generate C++ server and clients in virtually
> any language (C++, C#, Cocoa, D, Delphi, Erlang, Haskell, Java, OCaml,
> Perl, PHP, Python, Ruby, Smalltalk). Server would require some work
> (but still much, much less than in original proposal) and clients
> would require no work at all to create.

I have never used Thrift, but is a Thrift API going to be easier to
bind to than the existing C API? I'm pretty sure that every language
can bind to a C API.

-- Sean Silva




More information about the cfe-dev mailing list