home.social

#c2y — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #c2y, aggregated by home.social.

  1. Долгожданный оператор _Countof

    Одно из недооценённых событий уходящего года деревянной змеи - в проекте стандарта языка С появился оператор числа элементов. Как заметил один мудрый товарищ, Алексей Годин, даже полвека ещё не прошло, а наконец, дождались.

    habr.com/ru/articles/1000228/

    #C2Y #C23 #массив #array #c++26

  2. 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

  3. "Behold, the epic quest for 'Dependable C' - because nothing screams #reliability like undefined behavior and broken VLAs 🤦‍♂️! In a dazzling display of verbosity, they ironically try to fix C with more convoluted #C23 and mythical #C2Y, because adding chaos is the path to safety, right? 🤔🔧"
    dependablec.org/ #DependableC #UndefinedBehavior #SoftwareDevelopment #HackerNews #ngated

  4. @fanf IMO one of the most interesting papers for #c2y . Releasing a new standard with 'optional' along 'defer' by @thephd would give a total breeze of fresh air to C development.

  5. Continuing on my thoughts about the #C language; It is widely known that the "pragma once" directive is supported by most of the compilers in the industry. Why not standardize it for #c2y ?

  6. #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.

    open-std.org/JTC1/SC22/WG14/ww

  7. 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: ethernull.org/blog_posts/2024_

    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. :)

    #WG14
    #C2y
    #C