home.social

Search

1000 results for “cpp”

  1. ACCU on Sea 2026 SESSION ANNOUNCEMENT: Footguns, Film Study, and Forty Years of Failure - What std::vector Taught Me About API Design by Jody Hagins

    accuonsea.uk/2026/sessions/foo

    Register now at accuonsea.uk/tickets/

    #Cpp #API #Coding #Programming

  2. Andrew Coyne 🇺🇦🇮🇱🇬🇪🇲🇩 (@acoyne): "My latest, on the continuing fiasco at the CPP investment fund, which has now spent more than $50 billion over twenty years to lose about $100 billion relative to what it might have earned, for an equal amount of risk, if it had just bought the relevant indexes — or flung darts at the stock listings. theglobeandmail.com/opinion/ar" | nitter
    nitter.net/acoyne/status/20576

    #CPPIB #CPP #CanPol #cdnpoli
    #GlobeAndMail

  3. The Centre for the Promotion of Private Enterprise (CPPE);has praised the Central Bank of Nigeria (CBN) for retaining key monetary policy parameters at the 305th MPC meeting.

    dmarketforces.com/cppe-backs-c

    #CPPE #MPC #CBN

  4. C++ Insights - Episode 74: Why move requires noexcept in C++20

    In this episode, you'll learn why noexcept is crucial for move operations of a class.

    youtu.be/d7CzCSrPp60

    #cppinsights #cpp #cpp11

  5. I never use unions in C++. Mostly because I typically work at a high enough level that I don't need to worry about them.

    Recently looked up the details, and other than the last one, was surprised to find out:

    - Unions can have constructors, destructors, and methods.

    - Unions can use public, private, protected, just like classes; they're public by default, like structs.

    - Unions cannot be used as a base class, or have a base class.

    - Unions cannot have virtual methods.

    - And unsurprisingly, it is UB to read a member that was not the most recently assigned. #cpp

  6. My gods, C++, why are you like this? My crime: std::basic_regex<char8_t>(u8"."). That's the whole code.

    It's reasonable to expect that this would work (to create a regex object matching UTF-8 strings, both things that have existed for decades). The pieces fit together syntactically and conceptually. It compiles and links without any warnings on Clang and GCC.

    But then the executable crashes with a "bad_cast" exception. No indication of the cause whatsoever.

    So, not only does C++ fail to support things that it seems obviously designed to support, but it can't even tell you that it doesn't support them.

    #cpp

  7. Anyone got links to a good tutorial on systems programming for M-series based #MacOS ? I eventually want to get into #ARM64 based assembly #ASM , but I'm happy starting with #C / #Cpp

  8. I don't have a screenshot of the error, (because failure after a long frustrating day) but I somehow managed to write C++ code that not only compiled, but produced a sequence of x86 instructions so cursed that it hard-crashed Virtual Box. That's not supposed to be possible, right? Like, the Guest system isn't supposed to be able to influence the Host :P

    #psion #programming #cpp