thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Nadlinger" <c...@klickverbot.at>
Subject Re: Support array
Date Sun, 06 May 2012 16:28:36 GMT
On 6 May 2012, at 17:36, Lingfeng Zhuang wrote:
> Does thrift support array datatype like double[]? I know it support
> list<double>, but I prefer double[] in some cases.

list<> in Thrift does not imply a linked list (or another container with 
sequential access), but just represents a general (ordered) list of 
elements. It e.g. translates to a std::vector<> in C++ or a built-in 
array in D – which target language are you interested in?

David

Mime
View raw message