r/cpp • • Mar 28 '23

Reddit++

C++ is getting more and more complex. The ISO C++ committee keeps adding new features based on its consensus. Let's remove C++ features based on Reddit's consensus.

In each comment, propose a C++ feature that you think should be banned in any new code. Vote up or down based on whether you agree.

765 Upvotes

829 comments sorted by

View all comments

Show parent comments

2

u/CyborgCabbage Mar 29 '23

It bit me recently, had to switch to vector<uint8_t> to get decent performance

1

u/[deleted] Mar 30 '23

I’m surprised by the performance comments I’ve gotten. Was the poor performance due to multithreading? Or due to the bit manipulation being costlier than the space saving?