You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/04/29 14:46:00 UTC

[jira] [Created] (ARROW-8623) [C++][Gandiva] Reduce use of Boost, remove Boost headers from header files

Wes McKinney created ARROW-8623:
-----------------------------------

             Summary: [C++][Gandiva] Reduce use of Boost, remove Boost headers from header files
                 Key: ARROW-8623
                 URL: https://issues.apache.org/jira/browse/ARROW-8623
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++, C++ - Gandiva
            Reporter: Wes McKinney
             Fix For: 1.0.0


Boost is currently a transitive dependency of many of Gandiva's public header files. I suggest the following:

* Do not include Boost transitively in any installed header file
* Reduce usages of Boost altogether

On the latter point, most usages of Boost can be trimmed by having a {{hash_combine}} function inside the Arrow codebase. See results of grepping the codebase

https://gist.github.com/wesm/190006d91628e6bf7c04deb596a52cff

It seems that Boost cannot be easily eliminated altogether at the present moment because of a use of Boost.Multiprecision ({{int256_t}}). At some point someone may want to implement sufficient 256-bit integer functions so that we don't have to depend on Boost.Multiprecision



--
This message was sent by Atlassian Jira
(v8.3.4#803005)