r/cpp • • Jul 14 '22

Boost.Graph user survey

Dear Boost.Graph users (and potential users),

I'd like to know how you use Boost.Graph. If you know someone that uses Boost.Graph then please let them know about this survey. The purpose of this survey is to help prioritize work on the areas of Boost.Graph that will have the most benefit to the current users, and potential users.

I was planning to make a very sophisticated Google Forms survey, but that is so time consuming. These questions should all be taken in the context of using Boost.Graph. * Which operating systems do you use? * Which toolchains do you use? * Which C++ standard do you use? (e.g. 03, 11, 14, etc) * Which features of Boost.Graph are you using? * Which features do you think Boost.Graph is missing? * What are the biggest problems with using Boost.Graph?

Purely out of curiosity: * What do you use it for? * If you use it in business (or research), how critical is it?

To potential users, that is, people who need to solve graph theory problems but don't use Boost.Graph: * What are the obstacles or issues preventing using it?

Thanks!

75 Upvotes

58 comments sorted by

View all comments

Show parent comment

8

u/RogerLeigh Scientific Imaging and Embedded Medical Diagnostics Jul 14 '22

This is spot on.

I've used BGL a handful of times, first back in 2006. It's never been an easy to use or intuitive library, and as you say the main problem with the BGL is the same problem which afflicts a lot of Boost libraries: the uncoordinated dependency upon lots of other Boost libraries solely for backward compatibility with pre-C++11 compilers. But the core functionality is solid once you've worked out how to use the node and edge properties and all the rest properly.

I'd like to use BGL in a new project I'm working on today. But I'll just create my own adjacency list and implement my own DFS algorithm. Because the huge amount of baggage and the very dated API in return for the small convenience of being able to run a search is not worth it. The same applies to many other Boost libraries. I'll reconsider using them once Boost is fully modular and has C++11 or 14 as the bare minimum.