home.social

#cpp23 β€” Public Fediverse posts

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

  1. May I make you aware of the phantastic @compiler_explorer, that totally indispensable tool to every software developer - the brainchild of @mattgodbolt ?

    I can speak only as an average C++ developer who works at a small company, and who happens to be stranded in the C++ committee.

    For my own experiments, I have a personal bookmark in my browser called "C++23 playground" as a starting point for for more elaborate adventures in the C++ lands. May be, it helps you as well:

    godbolt.org/z/Mz96j16nx

    To the best of my knowledge, the provided flags will give you some highly recommended defaults for compiler diagnostics and maximum language conformance, in the three major implementations Clang/libc++, GCC/libstdc++, and MSVC/MS-STL. Maybe you'll get some inspiration for your daily grind.

    Please support Matt and the entire CE team 🀘, f.e. by getting some swag that we nerds can proudly present in the public and wear as protective gear ☺️

    Visit shop.compiler-explorer.com/pro 🀩

    #cpp #cpp23 #cplusCplus #programming

  2. Are you using std::ranges in your C++ code? If not, what is stopping you?

    Ranges introduced a huge paradigm shift in the way we can write our C++ code. They can make the code way shorter, way better separated, and what's best - way more resilient to both logical and memory-related bugs. 🐞

    If you haven't yet dabbled in ranges yourself, I've prepared a kind of cheatsheet reference article exploring many everyday use cases and how they can be improved by using the std::ranges library. πŸ“

    You can read the article for free on my Medium:
    ➀ medium.com/@nerudaj/you-need-t

    What are your experiences with this library? Tell me in the comments πŸ‘‡

    #cpp #softwareengineering #memorysafety #cpp23

  3. Are you using std::ranges in your C++ code? If not, what is stopping you?

    Ranges introduced a huge paradigm shift in the way we can write our C++ code. They can make the code way shorter, way better separated, and what's best - way more resilient to both logical and memory-related bugs. 🐞

    If you haven't yet dabbled in ranges yourself, I've prepared a kind of cheatsheet reference article exploring many everyday use cases and how they can be improved by using the std::ranges library. πŸ“

    You can read the article for free on my Medium:
    ➀ medium.com/@nerudaj/you-need-t

    What are your experiences with this library? Tell me in the comments πŸ‘‡

    #cpp #softwareengineering #memorysafety #cpp23

  4. Are you using std::ranges in your C++ code? If not, what is stopping you?

    Ranges introduced a huge paradigm shift in the way we can write our C++ code. They can make the code way shorter, way better separated, and what's best - way more resilient to both logical and memory-related bugs. 🐞

    If you haven't yet dabbled in ranges yourself, I've prepared a kind of cheatsheet reference article exploring many everyday use cases and how they can be improved by using the std::ranges library. πŸ“

    You can read the article for free on my Medium:
    ➀ medium.com/@nerudaj/you-need-t

    What are your experiences with this library? Tell me in the comments πŸ‘‡

    #cpp #softwareengineering #memorysafety #cpp23

  5. Are you using std::ranges in your C++ code? If not, what is stopping you?

    Ranges introduced a huge paradigm shift in the way we can write our C++ code. They can make the code way shorter, way better separated, and what's best - way more resilient to both logical and memory-related bugs. 🐞

    If you haven't yet dabbled in ranges yourself, I've prepared a kind of cheatsheet reference article exploring many everyday use cases and how they can be improved by using the std::ranges library. πŸ“

    You can read the article for free on my Medium:
    ➀ medium.com/@nerudaj/you-need-t

    What are your experiences with this library? Tell me in the comments πŸ‘‡

    #cpp #softwareengineering #memorysafety #cpp23

  6. Are you using std::ranges in your C++ code? If not, what is stopping you?

    Ranges introduced a huge paradigm shift in the way we can write our C++ code. They can make the code way shorter, way better separated, and what's best - way more resilient to both logical and memory-related bugs. 🐞

    If you haven't yet dabbled in ranges yourself, I've prepared a kind of cheatsheet reference article exploring many everyday use cases and how they can be improved by using the std::ranges library. πŸ“

    You can read the article for free on my Medium:
    ➀ medium.com/@nerudaj/you-need-t

    What are your experiences with this library? Tell me in the comments πŸ‘‡

  7. Did I just hand-write an implementation of #cpp23 std::expected for use in #cpp11? Very, very yes.

    Is it complete? No. But it is functional enough.

    Am I pleased with it? Also very yes!

    Will I use it in #ProjectSpecialK? I dunno, maybe. We'll see.

  8. Stephan is busy, so I'm on my private "🐞 STL Bug Bash II" as he calls it.

    With
    * a simple fix in <chrono> πŸ₯²
    * a hacky 😦 workaround in <chrono>
    * and a compatible (!) attachment in module 'std' of all the entities from the C++ standard library πŸ™„

    I can mix #includes and import std from the modularized ms-stl πŸŽ‰πŸš€βœ¨

    Gradual adoption of a modularized #cpp20 or #cpp23 standard library is now possible as soon as said issues are fixed and publicly available!