[RFC v3 2/4] string: Add streq,memeq,wcseq,wmemeq,strcaseeq[_l],wcscaseeq[_l] APIs
Alejandro Colomar
alx@kernel.org
Wed Sep 3 13:46:33 GMT 2025
- Previous message (by thread): [RFC v3 2/4] string: Add streq,memeq,wcseq,wmemeq,strcaseeq[_l],wcscaseeq[_l] APIs
- Next message (by thread): [RFC v3 2/4] string: Add streq,memeq,wcseq,wmemeq,strcaseeq[_l],wcscaseeq[_l] APIs
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi Joseph,
If you think these APIs are good for programmers and for being in libc,
I'd like to ask you to help me convince maintainers that going through
the committee is not an option. I don't think they're aware of how much
the committee is just not interested in anything that would improve
lives of users of <string.h>
Hi libc-alpha@,
Please be aware that the C Committee has little interest in anything
that has to do with <string.h>. They'd rather remove the entire library
than improving it. The bad side of this, is that if you wait for the
standard to agree on an improvement to it, you'll have grey hair before
it happens. The good side of this, is that we have more or less freedom
to improve it by ourselves, because there's no chance the committee will
add functions with the same name and different semantics.
And while they don't care about improving users' lives, they care a bit
more about being entirely ignored by implementations, so it's rather
unlikely that they'll add streq() with different semantics.
There are only two realistic options:
- Implement this now, and let the committee consider adoption
eventually.
- Do not implement this, and let users write their own wrappers.
There's no third option where the committee adds this before us.
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).
- Previous message (by thread): [RFC v3 2/4] string: Add streq,memeq,wcseq,wmemeq,strcaseeq[_l],wcscaseeq[_l] APIs
- Next message (by thread): [RFC v3 2/4] string: Add streq,memeq,wcseq,wmemeq,strcaseeq[_l],wcscaseeq[_l] APIs
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Libc-alpha
mailing list