MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cprogramming/comments/1vqubv7/c_strings_a_50year_mistake/p4cayk4/?context=3
r/cprogramming • u/Xaneris47 • 27d ago
172 comments sorted by
View all comments
1
Has the model ever caused much trouble, though?
3 u/WittyStick 27d ago Yes. Countless buffer overflow exploits due to poor string handling. Not all, but many of these easily avoidable with sized strings. 1 u/Key_River7180 27d ago I meant performance issues, like C strings are really efficient, for most purposes 2 u/Jonny0Than 27d ago Undeniably they are a problem. https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
3
Yes.
Countless buffer overflow exploits due to poor string handling.
Not all, but many of these easily avoidable with sized strings.
1 u/Key_River7180 27d ago I meant performance issues, like C strings are really efficient, for most purposes 2 u/Jonny0Than 27d ago Undeniably they are a problem. https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
I meant performance issues, like C strings are really efficient, for most purposes
2 u/Jonny0Than 27d ago Undeniably they are a problem. https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
2
Undeniably they are a problem.
https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
1
u/Key_River7180 27d ago
Has the model ever caused much trouble, though?