Yes, that's an important issue!

what do you think about a compiler that only needs C as described in
https://issues.apache.org/jira/browse/THRIFT-506

compile that one for different platforms and make it available for each version on the download web site?


Am 26.08.2010 23:56, schrieb Todd Lipcon:
On Thu, Aug 26, 2010 at 1:54 PM, Bjorn Borud<[email protected]>  wrote:

on the project I currently work on we have a (ANTLR-based) parser for
the Thrift IDL language in order to generate code for a proprietary
serialization library.

it struck me that perhaps we could use this parser the implement the
Thrift compiler in Java instead.  this would mean that the thrift
compiler itself could be built as a platform independent artifact --
which should make it a lot more elegant to write Maven plugins for
Thrift.  it would also eliminate the need (for us) to maintain Thrift
compiler binaries for all platforms and versions of the compiler.

currently the parser lacks some minor features, but this could easily be
rectified.  the real job is to add the code generation for various
languages.

if anyone is interested in this, I am going to talk to some people
tomorrow to get formal approval for open sourcing it.


I'm interested - in my experience, the C++ compiler has been one of the
major barriers of Thrift adoption, since it's often a pain to get running on
OSX, Windows, etc. A java code generator would be so much easier to get up
and going, easier to add "plugin" support, and easier for a larger community
of developers to contribute to.

-Todd

Reply via email to