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. Cheers, mcslee On 5/7/12 12:23 PM, "Bryan Duxbury" <[email protected]> wrote: >I do not foresee us offering array datatypes. > >On Sun, May 6, 2012 at 8:36 AM, Lingfeng Zhuang <[email protected]> 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 >>
