Just started to add UTF-8 support to libstr, my libc-free string manipulation library written in C
Find the repository on Codeberg: https://codeberg.org/ayba/libstr
Just started to add UTF-8 support to libstr, my libc-free string manipulation library written in C
Find the repository on Codeberg: https://codeberg.org/ayba/libstr
Долгожданный оператор _Countof
Одно из недооценённых событий уходящего года деревянной змеи - в проекте стандарта языка С появился оператор числа элементов. Как заметил один мудрый товарищ, Алексей Годин, даже полвека ещё не прошло, а наконец, дождались.
As a side project, I am working on a deep redesign of the C standard library and am contemplating blogging about it to give myself some motivation, as well as hopefully getting helpful feedback from interested enthusiasts or experienced programmers. Feel free to share this thread and ask questions, I'll be happy to answer them in my next blog post if this gets enough traction (I will post the link here on mastodon).
#programming #c #libc #c23 #c2y #clang #gcc #unix #windows #macos #plan9 #blog
#Cprogramming #C2y The paper of Javier Múgica (with a little bit of co-authorship by myself) about array subscripting has now been accepted into C2y. It has only marginal direct consequences for your everyday code (except perhaps if you use `register` or `constexpr`), but it helps to make arrays in C a little bit less weird.
Meeting 71 of WG14 (the ISO C committee) is now complete, and I've written a blogpost with an overview of the proposals that were highlights for me: https://www.ethernull.org/blog_posts/2024_10.1_wg14.html
With thanks to @AaronBallman @erisceleste @thephd for writing the proposals I wrote about!
Obviously there were plenty of great papers, these were just a few I particularly liked. C23 is really nice, and I think C2y is already shaping up to be something quite special. :)