[Xorp-hackers] Thrift RPC support

Ben Greear greearb at candelatech.com
Mon Aug 29 00:57:58 PDT 2011


On 08/28/2011 06:16 PM, Dan Mihai Dumitriu wrote:
> Hi Ben,
>
> Thanks for the quick reply.  I was just curious.
>
> I don't necessarily think that Thrift is better than what is there
> now.  However, I want to write an interface to the RIB in Java, so the
> cross language issue came up.  Do you have any suggestion, other than
> building it from scratch? :)

Seems like we could make the code that generates the c++ code from templates
generate java classes as well.  And would have to re-implement the xrl core
logic in java.

That probably wouldn't be too difficult, but I don't have time or interest to
do it myself.  I'd be happy to consider patches if someone else wants to work
on it, however...

Or, depending on your needs, you might be able to hard-code some java-xrl stuff without
using template-generated java code, or even have the java code call c++ programs
that do the messaging.

Thanks,
Ben

>
> Cheers,
> Dan
>
>
> On Sat, Aug 27, 2011 at 12:58 PM, Ben Greear<greearb at candelatech.com>  wrote:
>> On 08/26/2011 03:54 PM, Dan Mihai Dumitriu wrote:
>>>
>>> Hi all,
>>>
>>> A couple of years ago some work was started to lay the groundwork for
>>> supporting Thrift as the RPC mechanism.  I was just wondering what the
>>> status of that is.  It seems kind of dead from the mailing list.
>>>
>>> (http://mailman.icsi.berkeley.edu/pipermail/xorp-hackers/2009-November/002242.html)
>>
>> I don't think anyone is working on it, and unless someone can explain why
>> it would be better than what we have now, I'm not overly excited about
>> accepting patches that add dependencies on external frameworks.
>>
>> Do you have some project in mind that would benefit from using Thrift?
>>
>> Thanks,
>> Ben
>>
>> --
>> Ben Greear<greearb at candelatech.com>
>> Candela Technologies Inc  http://www.candelatech.com
>>


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list