home.social

#cpp20 — Public Fediverse posts

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

  1. Why struggle with complex asynchronous code when coroutines can simplify it all? My self-study course breaks down everything you need to know—in just three hours of video content. Learn now, apply tomorrow!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  2. Why struggle with complex asynchronous code when coroutines can simplify it all? My self-study course breaks down everything you need to know—in just three hours of video content. Learn now, apply tomorrow!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  3. Why struggle with complex asynchronous code when coroutines can simplify it all? My self-study course breaks down everything you need to know—in just three hours of video content. Learn now, apply tomorrow!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  4. Why struggle with complex asynchronous code when coroutines can simplify it all? My self-study course breaks down everything you need to know—in just three hours of video content. Learn now, apply tomorrow!

    fertig.to/slcoro

  5. Why struggle with complex asynchronous code when coroutines can simplify it all? My self-study course breaks down everything you need to know—in just three hours of video content. Learn now, apply tomorrow!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  6. In my latest blog post, "What reinterpret_cast doesn't do," you'll learn about one of C++'s biggest pitfalls and how to avoid it.

    andreasfertig.com/blog/2026/04

    #cplusplus #cpp #cpp20 #cpp23

  7. C++ coroutines are a game-changer for asynchronous programming. But trying to grasp them can be pretty tough. Join my self-study course and finally make asynchronous programming work for you!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  8. C++ coroutines are a game-changer for asynchronous programming. But trying to grasp them can be pretty tough. Join my self-study course and finally make asynchronous programming work for you!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  9. C++ coroutines are a game-changer for asynchronous programming. But trying to grasp them can be pretty tough. Join my self-study course and finally make asynchronous programming work for you!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  10. C++ coroutines are a game-changer for asynchronous programming. But trying to grasp them can be pretty tough. Join my self-study course and finally make asynchronous programming work for you!

    fertig.to/slcoro

  11. C++ coroutines are a game-changer for asynchronous programming. But trying to grasp them can be pretty tough. Join my self-study course and finally make asynchronous programming work for you!

    fertig.to/slcoro

    #cpp20 #programming #coroutines #cpp

  12. This conversation with @meetingcpp organizer Jens Weller reflects on highlights from Meeting C++ 2025 and the evolving C++ landscape - from Toyota’s open-source real-time work to the gap between C++20/C++26 adoption and continued industry use of C++11/17. #Cpp #Cpp20 #Cpp26 #SoftwareDevelopment #OpenSource

    Watch the full interview:
    youtube.com/watch?v=XESMSq1PEpI

  13. ⏰ Last chance!
    Enrollment for my C++17/20 course + 1:1 coaching closes tonight.
    If you want to start 2026 writing cleaner, more reliable C++ and finally feel confident with modern features—this is your moment.
    Don’t miss it:

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  14. 🎯 New Year, New Skills!
    Start 26 by leveling up your C++ game.
    With my C++17/20 course + 1:1 live coaching, you’ll finally master features like ranges, and std::optional—without the frustration of figuring it all out alone.
    👉 Secure your spot before Jan. 1st:

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  15. 🎄 Merry C++mas! 🎄
    May your holidays be filled with peace, cookies, and clever solutions.
    Need a gift for your future self?
    🎁 My C++17/20 self-study course + 1:1 coaching starts Jan. 1st.
    Learn smarter. Code better. Go into 26 with confidence.

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  16. Imagine starting the new year writing cleaner, faster, more reliable C++ code.
    With my self-paced course + 1:1 live coaching, that’s exactly what you’ll achieve.
    📅 We kick off January 1st. Let’s write unique code together:

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  17. Still coding in C++11 or C++14? 🚧
    It’s time to unlock the power of C++17 & C++20.
    My C++ course + 1:1 coaching bundle helps you:
    ✅ Write cleaner code
    ✅ Use modern features
    ✅ Get real-time answers to your tricky questions
    Enrollment closes soon →

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  18. Quick question:
    Who do you turn to when you get stuck in C++?
    With my C++17/20 course + 1:1 coaching, you’ll never have to face tricky code alone again.
    We start January 1st → Join here:

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  19. What is the reasonable way to test internal parts of a module?

    For a complex module I want unit tests for parts that I do not want to export. Do I make an internals module that can be tested. Then have the actual module which only re-export what I intend to be the library's interface?

  20. Last chance!
    Enrollment for my C++17/20 course + 1:1 coaching closes tonight.
    If you want to start 2026 writing cleaner, more reliable C++ and finally feel confident with modern features—this is your moment.
    Don’t miss it:

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  21. Working with with and

    How can I run just the scan/dynamic based bits so that I can run clang-tidy without a full build?

    ATM I have this hack
    ```
    # cmake config
    cmake --preset thing

    # select what I need made
    ninja -C build -t inputs | grep -E '\.cppm\.o$|\.o\.modmap$' | xargs -r ninja -C build

    # then I can run clang-tidy
    ```

    There must be a better way

  22. Quick question:
    Who do you turn to when you get stuck in C++?
    With my C++17/20 course + 1:1 coaching, you’ll never have to face tricky code alone again.
    We start November 1st → Join here:

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  23. What if you could write clean, robust, modern C++—without spending weeks buried in tutorials? With my self-study course + 1:1 live coaching, you’ll go from “where do I start?” to confident in your C++ skills.💡 Start November 1st. Spots are limited

    fertig.to/slcoaching

    #cpp20 #cpp17

  24. Last chance!
    Enrollment for my C++17/20 course + 1:1 coaching closes tonight.
    If you want to start 2026 writing cleaner, more reliable C++ and finally feel confident with modern features—this is your moment.
    Don’t miss it:

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  25. Still coding in C++11 or C++14? 🚧
    It’s time to unlock the power of C++17 & C++20.
    My C++ course + 1:1 coaching bundle helps you:
    ✅ Write cleaner code
    ✅ Use modern features
    ✅ Get real-time answers to your tricky questions
    Enrollment closes soon →

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  26. You write C++ for an embedded environment and going to CppCon? Then check out my workshop:
    Safe and Efficient C++ for Embedded Environments

    📍 In-person @CppCon
    📅 Sat & Sun, Sept 13–14
    🥗 Lunch included

    👉 Book now as seats are limited

    fertig.to/workshop

    #cpp #cpp20 #cpp23 #workshop

  27. What if you could write clean, robust, modern C++—without spending weeks buried in tutorials? With my self-study course + 1:1 live coaching, you’ll go from “where do I start?” to confident in your C++ skills.💡 Start September 1st. Spots are limited

    #cpp #cpp20 #cpp17

    fertig.to/slcoaching

    #cpp #cpp20 #cpp17

  28. You write C++ for an embedded environment and going to CppCon? Then check out my workshop:
    Safe and Efficient C++ for Embedded Environments

    📍 In-person @CppCon
    📅 Sat & Sun, Sept 13–14
    🥗 Lunch included

    👉 Book now as seats are limited

    #cpp #cpp20 #cpp23 #workshop

    fertig.to/workshop

    #cpp #cpp20 #cpp23 #workshop

  29. man, this thing is so fucking beautiful 😍😁

    🖥️ #btop++: Advanced System Resource Monitor

    Built in #CPP20 as successor to #bashtop & #bpytop, offering comprehensive system monitoring for #Linux #macOS #FreeBSD #NetBSD #OpenBSD

    📊 Key Features:

    Real-time monitoring of CPU, memory, disks, network & processes
    #GPU support for #NVIDIA #AMD #Intel graphics
    Interactive UI with full mouse support and customizable themes
    Tree view of processes with detailed statistics

    ⚡ Technical Highlights:

    Efficient performance with minimal system impact
    Support for true color and 256-color terminals
    Extensive configuration options via btop.conf
    Available through #homebrew #pkg #snap package managers

    🛠️ Installation Options:

    Binary releases for multiple architectures
    Source compilation with Make or CMake
    Simple package manager installation on major distributions

    github.com/aristocratos/btop

  30. man, this thing is so fucking beautiful 😍😁

    🖥️ #btop++: Advanced System Resource Monitor

    Built in #CPP20 as successor to #bashtop & #bpytop, offering comprehensive system monitoring for #Linux #macOS #FreeBSD #NetBSD #OpenBSD

    📊 Key Features:

    Real-time monitoring of CPU, memory, disks, network & processes
    #GPU support for #NVIDIA #AMD #Intel graphics
    Interactive UI with full mouse support and customizable themes
    Tree view of processes with detailed statistics

    ⚡ Technical Highlights:

    Efficient performance with minimal system impact
    Support for true color and 256-color terminals
    Extensive configuration options via btop.conf
    Available through #homebrew #pkg #snap package managers

    🛠️ Installation Options:

    Binary releases for multiple architectures
    Source compilation with Make or CMake
    Simple package manager installation on major distributions

    github.com/aristocratos/btop

  31. man, this thing is so fucking beautiful 😍😁

    🖥️ #btop++: Advanced System Resource Monitor

    Built in #CPP20 as successor to #bashtop & #bpytop, offering comprehensive system monitoring for #Linux #macOS #FreeBSD #NetBSD #OpenBSD

    📊 Key Features:

    Real-time monitoring of CPU, memory, disks, network & processes
    #GPU support for #NVIDIA #AMD #Intel graphics
    Interactive UI with full mouse support and customizable themes
    Tree view of processes with detailed statistics

    ⚡ Technical Highlights:

    Efficient performance with minimal system impact
    Support for true color and 256-color terminals
    Extensive configuration options via btop.conf
    Available through #homebrew #pkg #snap package managers

    🛠️ Installation Options:

    Binary releases for multiple architectures
    Source compilation with Make or CMake
    Simple package manager installation on major distributions

    github.com/aristocratos/btop

  32. man, this thing is so fucking beautiful 😍😁

    🖥️ #btop++: Advanced System Resource Monitor

    Built in #CPP20 as successor to #bashtop & #bpytop, offering comprehensive system monitoring for #Linux #macOS #FreeBSD #NetBSD #OpenBSD

    📊 Key Features:

    Real-time monitoring of CPU, memory, disks, network & processes
    #GPU support for #NVIDIA #AMD #Intel graphics
    Interactive UI with full mouse support and customizable themes
    Tree view of processes with detailed statistics

    ⚡ Technical Highlights:

    Efficient performance with minimal system impact
    Support for true color and 256-color terminals
    Extensive configuration options via btop.conf
    Available through #homebrew #pkg #snap package managers

    🛠️ Installation Options:

    Binary releases for multiple architectures
    Source compilation with Make or CMake
    Simple package manager installation on major distributions

    github.com/aristocratos/btop

  33. man, this thing is so fucking beautiful 😍😁

    🖥️ #btop++: Advanced System Resource Monitor

    Built in #CPP20 as successor to #bashtop & #bpytop, offering comprehensive system monitoring for #Linux #macOS #FreeBSD #NetBSD #OpenBSD

    📊 Key Features:

    Real-time monitoring of CPU, memory, disks, network & processes
    #GPU support for #NVIDIA #AMD #Intel graphics
    Interactive UI with full mouse support and customizable themes
    Tree view of processes with detailed statistics

    ⚡ Technical Highlights:

    Efficient performance with minimal system impact
    Support for true color and 256-color terminals
    Extensive configuration options via btop.conf
    Available through #homebrew #pkg #snap package managers

    🛠️ Installation Options:

    Binary releases for multiple architectures
    Source compilation with Make or CMake
    Simple package manager installation on major distributions

    github.com/aristocratos/btop

  34. Why are private module fragments `module : private;` only allowed in the primary module interface unit? Why can't they exist in the module partition units?

    I was going to use a partition unit to hold a complex internal subsystem that the main unit needs. Everything with internal or module linkage, no exports/external linkage.
    But I can't `import :subsystem;` after `module : private;` in the main unit.
    And I can't `module : private;` at all in the partition unit.

  35. Thanks to the feedback of @hankadusikova, the latest version of my "C++20 Coroutines Cheatsheet" contains less bugs.

    Grab your copy here:

    👉 fertig.to/subscribe/

    A recording of a supporting talk is here:

    👉 youtu.be/8sEe-4tig_A

    #cpp20 #coroutine #cheatsheet

  36. 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!

  37. I also tried turning the comparison function around, such that it looks for the furthest colour instead of the closest one, which also resulted in some interesting patterns.

    #programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics

  38. I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.

    The algorithm is simple:

    1. Fill the canvas with random colours.
    2. Set the first pixel (top left) to red.
    3. For all pixels, find the most similar pixel and move it next to the current pixel.

    To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.

    (I recommend zooming in!)

    #programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics