[ 
https://issues.apache.org/jira/browse/AVRO-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17908569#comment-17908569
 ] 

Andrew Peter Marlow commented on AVRO-4095:
-------------------------------------------

Thank you [~wgtmac] for doing this work. One of the benefits of using std 
instead of boost is to do with the use of tuple and any in avrogencpp. The 
boost versions do not use the SBO (Small Buffer Optimisation) and so take up 
more space on the wire. So I very much welcome this ticket.

> Remove boost dependency from non-test files
> -------------------------------------------
>
>                 Key: AVRO-4095
>                 URL: https://issues.apache.org/jira/browse/AVRO-4095
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: c++
>            Reporter: Gang Wu
>            Assignee: Gang Wu
>            Priority: Major
>
> I have been integrating the AVRO C++ library into our proprietary query 
> engine via conan. I have to maintain my own copy of the upstream 
> [https://github.com/conan-io/conan-center-index/blob/master/recipes/libavrocpp/all/conanfile.py]
>  to work around the boost dependency. In addition, I'm also working on a 
> brand new [Iceberg C++ library|https://github.com/apache/iceberg-cpp] and 
> need to integrate with AVRO C++ too. I found that preparing boost dependency 
> requires a lot of work. As the AVRO C++ library is already on C++ 17, is it 
> possible to get rid of the boost dependency at least in the non-test header 
> and source files? It might involves a lot of work. I can do that if this is 
> something that worth doing. 
> Includes:
>  * -boost/optional.hpp-
>  * -boost/any.hpp-
>  * -boost/tuple/tuple.hpp-
>  * -boost/noncopyable.hpp-
>  * -boost/blank.hpp-
>  * -boost/function.hpp-
>  * -boost/shared_ptr.hpp-
>  * -boost/static_assert.hpp-
>  * -boost/utility.hpp-
>  * boost/algorithm/string.hpp
>  * boost/algorithm/string/replace.hpp
>  * boost/asio/buffer.hpp
>  * boost/crc.hpp
>  * boost/iostreams/device/file.hpp
>  * boost/iostreams/filter/gzip.hpp
>  * boost/iostreams/filter/zlib.hpp
>  * boost/iostreams/filtering_stream.hpp
>  * boost/lexical_cast.hpp
>  * boost/math/special_functions/fpclassify.hpp
>  * boost/mprogram_options.hpp
>  * boost/random/mersenne_twister.hpp
>  * boost/shared_array.hpp



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to