Re:Apt Rust requirement raises questions
by steveklabnik on Tuesday November 25, 2025 @11:20AM
(#46047339)
This is just a variation of the "skill issue" argument.
If it were correct, we wouldn't see these issues continue to pop up. But we do.
Re:Apt Rust requirement raises questions
by josefx on Tuesday November 25, 2025 @01:34PM
(#46049049)
I think it is more a matter of convenience. There are countless string implementations for C, some tiny projects, others part of larger frameworks like Glib. At the end of the day a C developer has to decide if they are going to pull in half of gnome to handle a few lines of IO or if they are just going to use the functions the C standard conveniently ships with. Most people are going to do the later.
Re:Apt Rust requirement raises questions
by criddell on Tuesday November 25, 2025 @11:18AM
(#46047307)
> a pointer plus length
What would length represent? Bytes? Code points?
Anyway, I think what you are asking for already exists in the excellent ICU library.
And it's not a very easy thing to maintain. Unicode stuff changes more often than you might think and it can be political.
This holds for many things in C