home.social

Search

1000 results for “cpp”

  1. On my way back from #WG21 in Croydon/London. #cpp26 is done. Notable change that I got through: You don't have to wonder anymore what difference there is between `constant_arg` and `constant_wrapper`. Only the latter remains. And `constant_wrapper` now works as a function-wrapper, too (passing a callable as constant expression via function argument).
    And—somewhat sad—but `simd::vec<float>(...) * 2` won't compile anymore. I'll have to update GCC16 accordingly.

  2. There's also std::execution, which — if I understand correctly — contains a standard equivalent to Qt's signal/slot system?

    #programing #cpp

  3. Reflection: C++’s decade-defining rocket engine — Herb Sutter @ CppCon 2025

    youtube.com/watch?v=7z9NNrRDHQU

    If I understand this correctly, this is going to be good news for Qt/Plasma's performance as Qt basically reimplemented a reflection/metaprogramming system with QMetaObject.

    #programing #cpp

  4. It's been a while since last public update.

    Launched a pre-release today, which mostly prepares the ground work for a more independent library (without dependency on eg.: iterator, exceptions where not needed) and some support for C++26 features.

    lambs.gulix.cl/fossil.cgi/cxxo

    #cpp #cxx #cxxomfort #SoftwareRelease

  5. Calling all #CPPHE folks! Help us celebrate the 20th anniversary of CPPHE by submitting your favorite stories and pictures from past events. The submission link is here: forms.gle/AyBXDFe3acHRGtB5A We will share your materials at our pre-conference on Wednesday, November 16, during the business meeting from 5:15-6 pm PT. We can't wait to celebrate moving out of our teenage years with you :)

    #HigherEd
    #HigherEdPolicy
    #HigherEdFinance
    #ASHE2022
    #CPPHE2022

  6. Its amazing that in C++ its practically impossible to get a decent client. The minio-cpp requires and the sdk results in 22 GiB binary folder...

    There is a small header only library but it has 0 stars and fails compilation because uint8_t is undefined.

    What fun.

  7. Went to search for js runtimes on vcpkg and now I'm instead curious how many % of vcpkg's packages are json parsers.

    #cpp #vcpkg

  8. Trying to figure out of we could use vcpkg for all our dependencies.

    One thing I don't quite understand what the best practice for is, is doing small customizations of a port. For example, if I were to use boost from vcpkg I need it to be built with BOOST_DISABLE_EXPLICIT_SYMBOL_VISIBILITY and it doesn't seem like it is by default. How would I easiest make a local adjustment for a thing like that?

    #cpp #vcpkg

  9. @admin koska tää on selvästi vasta-alkajille kirjoitettu, niin en mene liian pedanttiseksi. Mutta tuo muistinhallinnan riskialttius on pitkälti historiaa.

    Modernissa c++:ssa on automaattinen muistinhallinta ja turvalliset tietorakenteet kuten korkeamman tason kielissä.

    C++ on kuitenkin taaksepäin yhteensopiva c:hen ja jopa assembleriin asti joten sillä kyllä pystyy ampumaan itseään jalkaan hyvin helposti halutessaan.

    t: c++:aa työkseen koodaava.

    Ps. Skrolli-lehdellä on Matrixissa Koodi-kanava josta voi vasta-alkaja hakea apuja ohjelmointiin: matrix.to/#/#skrolli-koodi:hac

    #cpp #skrolli #ohjelmointi

  10. I am learning a heck lot writing a midi file parser in C++.

    #cpp #parsers #compsci

  11. I'm suddenly seeing a whole bunch of posts about Canada Pension Plan on my Home TL. The posts/replies are not (boosted) by anyone I follow. 🤔

    Turns out the posts use #cpp, short for #CanadaPensionPlan, and thus my seeing them. 🤦‍♂️

    So, not C++, but at least mystery solved. 😮‍💨

    Carry on, Canadian friends. Buckle up, C++ friends. 😀

  12. Combined, public pensions, including CPP, have more than US$2.5 billion invested in ICE contractors. the Canada Pension Plan (CPP) is quietly investing those very savings into Trump’s terror project south of the border.

    A breaking report from Stand.Earth confirms that the CPP has major investments in contractors that prop up ICE.
    Will you sign this petition now demanding that the CPP divest from ICE?
    #cpp #pensions #ICE #canadapension

    leadnow.ca/campaigns/cpp-ice-p

  13. C++ problem: unordered_map<string, T> can't be looked up via a string_view.

    C++20 added a solution: Heterogenous lookup.

    Problem 2: That solution means to replace unordered_map<string, T> with the code in the screenshot.......

    Proposal: Add a string_hash to the stdlib, and then add a new hash_map to the stdlib:

    template<typename T>
    using hash_map = unordered_map<string, T, string_hash, equal_to<>>;

    This would make C++ almost nice to work with!

  14. It is hard to justify usage of clang-tidy when it takes longer than clean compilation of analyzed project.

    Certainly not on each compile, when it takes few minutes to complete (on measly 37 files) 😞

    #cpp #clangtidy

  15. Clang-tidy helps modernize C/C++ code by detecting bugs, inefficiencies & outdated patterns. While setup can be tricky, it's a powerful ally for migrating large codebases to modern C++. #Cpp #ClangTidy #StaticAnalysis #CodeQuality
    youtube.com/watch?v=EWq4mXjeDV

  16. Wanted to enable clang-tidy on my projects.

    Disappointment 1: CMake can't find clang-tidy shipped with MSVC.
    Disappointment 2: CMake way of enabling clang-tidy doesn't work with MSVC.
    Disappointment 3: clang-tidy shipped with MSVC doesn't fare well with C++23.

    #cpp #clangtidy