News for hackers. Stuff that matters.
Re:Sane C++ Libraries by MichaelMoser123 on Saturday January 27, 2024 @08:31PM (#39161661)
Doesn't it contradicts the 'bloat free' requirement, if every library needs to have its own version of std::list std::vector, std::unordered_map etc ?

I mean: i remember the days, when each and every project had its own string class.

Re:Sane C++ Libraries by MathMonkeyMan on Saturday January 27, 2024 @08:53PM (#39161785)
The implementations of vector, list, and unordered_map in every standard library I've used have been sufficient for every C++ library I've worked on.

There are special cases, and there are engineering politics, but it's all basically fine.

Re:Sane C++ Libraries by pagghiu on Sunday January 28, 2024 @04:17AM (#39163848)
The bloat free is more referring to executable size, build complexity, compile time and in general to hidden complexity.

Every library having its own version of common data structure is unfortunately something that C++ programmers can't really seem to agree on :)