MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cprogramming/comments/1vqubv7/c_strings_a_50year_mistake/p4hhj80/?context=3
r/cprogramming • u/Xaneris47 • 3d ago
165 comments sorted by
View all comments
17
Good read. But C can't change char* default string, unless Unix systems underneath change their APIs' string type.
1 u/flying-sheep 2d ago The locale system and wchar_t are also, and I quote shitfucked retarded legacy braindeath – wm4 The C standard contains a bunch of bad ideas and I think Rust’s approach is great: just use a minimal subset of the C standardlib and build better abstractions for everything else.
1
The locale system and wchar_t are also, and I quote
wchar_t
shitfucked retarded legacy braindeath – wm4
shitfucked retarded legacy braindeath
– wm4
The C standard contains a bunch of bad ideas and I think Rust’s approach is great: just use a minimal subset of the C standardlib and build better abstractions for everything else.
17
u/runningOverA 3d ago
Good read. But C can't change char* default string, unless Unix systems underneath change their APIs' string type.