You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2025/04/21 17:46:00 UTC

[jira] [Created] (IMPALA-13975) Reduce usage of boost when there is equivalent standard library functionality

Joe McDonnell created IMPALA-13975:
--------------------------------------

             Summary: Reduce usage of boost when there is equivalent standard library functionality
                 Key: IMPALA-13975
                 URL: https://issues.apache.org/jira/browse/IMPALA-13975
             Project: IMPALA
          Issue Type: Epic
          Components: Backend
    Affects Versions: Impala 5.0.0
            Reporter: Joe McDonnell


Several boost constructs are now covered by the C++ standard library and can be removed:
 # boost::function / bind / mem_fn
 # boost::unordered_set / unordered_map
 # boost::shared_mutex / shared_lock
 # boost::scoped_ptr / scoped_array => std::unique_ptr

There are also libraries in gutil that provide functionality now handled by the STL (i.e. gscoped_ptr, gscoped_array, bind, callback). We should remove that unused code as well.

We don't need to reduce the usage of these boost structures to zero (especially if there are performance implications or functionality differences), but most code should use the STL rather than boost.



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