3 ms·
If you start a green field C++ project, would you choose Folly, Boost only, or Abseil?
by didip 5y ago
If you start a green field C++ project, would you choose Folly, Boost only, or Abseil?
- versatran01 5y agoabseil and part of boost
- aaaaaaaaaaab 5y agoUnless you have a compelling reason: none of them. The modern (C++17<) stdlib should cover your needs.
- sgeisenh 5y agoThe stdlib implementations of associative containers have serious drawbacks. At the very least, most projects should consider adopting absl::flat_hash_(set|map) and absl::btree_(set|map) (or similar replacements) over the stdlib containers. I am also partial to explicit error handling over exceptions, and there is a lot to like about absl::Status (and absl::StatusOr). Disclaimer: I work for Google but the views expressed are my own and don't necessarily reflect those of my employer.
- dureuill 5y agoI wouldn't start a green field C++ project if I can help it[1], but if I had to I would probably go with the standard library with maybe as little boost as possible. [1]: http://cliffle.com/blog/prefer-rust/ http://cliffle.com/blog/prefer-rust/