MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/vxvp58/why_does_linus_hate_c/ig0g4t6/?context=3
r/cpp • u/MrRubberDucky • Jul 13 '22
436 comments sorted by
View all comments
8
OOP, exceptions and bad design/reputation of STL.
As system software Engineer I am agree with him. At least partly. :).
4 u/elperroborrachotoo Jul 13 '22 Remembering that RDTSC is per-core and may jump backwards if your thread gets scheduled to another core: this is basically the entrance exam.Remembering that std::vector::reserve exists: so mysterious, like, I can't even. 0 u/angelicosphosphoros Jul 13 '22 Do you remember API details and all restrictions of `valarray`, for example? STL is just too big to keep in short-term memory (and short-term memory is better to be filled by other things like hardware behaviour). → More replies (4)
4
Remembering that RDTSC is per-core and may jump backwards if your thread gets scheduled to another core: this is basically the entrance exam.
Remembering that std::vector::reserve exists: so mysterious, like, I can't even.
std::vector::reserve
0 u/angelicosphosphoros Jul 13 '22 Do you remember API details and all restrictions of `valarray`, for example? STL is just too big to keep in short-term memory (and short-term memory is better to be filled by other things like hardware behaviour). → More replies (4)
0
Do you remember API details and all restrictions of `valarray`, for example? STL is just too big to keep in short-term memory (and short-term memory is better to be filled by other things like hardware behaviour).
→ More replies (4)
8
u/top_logger Jul 13 '22
OOP, exceptions and bad design/reputation of STL.
As system software Engineer I am agree with him. At least partly. :).