thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Slee <>
Subject Re: Support array
Date Mon, 07 May 2012 19:58:28 GMT
It is also worth just quickly noting that native arrays in C++ present a
few nontrivial hurdles:

- Their length needs to be separately maintained
- If they are on the stack, all the object storage is on the stack (as
opposed to STL)
- If they are dynamic, you now need to manage new/delete calls across
Thrift call-boundaries

Native arrays in Java are more achievable, but the lack of parity with the
other container types and Java idioms does not feel worth it.


On 5/7/12 12:23 PM, "Bryan Duxbury" <> wrote:

>I do not foresee us offering array datatypes.
>On Sun, May 6, 2012 at 8:36 AM, Lingfeng Zhuang <> wrote:
>> Hi all,
>> Does thrift support array datatype like double[]? I know it support
>> list<double>, but I prefer double[] in some cases.
>> Regards
>> zlf

View raw message