893 links
  • Links Lounge
  • Home
  • Login
  • RSS Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 1 / 2
75 results tagged C++ x
  • QFuture ❤️ C++ coroutines | arno's blog
    Thu Feb 12 08:46:01 2026 - permalink -
    - - - https://www.arnorehn.de/blog/2026/02/09/qfuture-c-coroutines/
    C++ Qt Thread
  • C++ Gotcha: Unnecessary Copies Due to the Misuse of Auto | by Roger Booth | Medium
    Fri Jul 4 10:32:31 2025 - permalink -
    - - - https://medium.com/@rogerbooth/c-gotcha-unnecessary-copies-due-to-the-misuse-of-auto-ed24e65b5efd
    C++
  • C++ Ecosystem in 2021: 1 in 5 C++ developers are using C++20 and a third of us are not writing any unit tests at all, and other facts | The CLion Blog
    Tue Aug 20 15:31:19 2024 - permalink -
    - - - https://blog.jetbrains.com/clion/2021/07/cpp-ecosystem-in-2021/
    C++
  • https://fouronnes.github.io/cppiceberg/
    Mon Feb 26 17:56:50 2024 - permalink -
    - - - https://fouronnes.github.io/cppiceberg/
    C++
  • Pitfalls of lambda capture initialization | arno's blog
    Tue Oct 10 09:33:03 2023 - permalink -
    - - - https://www.arnorehn.de/blog/2023/09/27/pitfalls-of-lambda-capture-initialization/
    C++
  • C++ Weekly With Jason Turner - YouTube
    Tue Oct 10 09:09:11 2023 - permalink -
    - - - https://www.youtube.com/channel/UCxHAlbZQNFU2LgEtiqd2Maw
    C++
  • YouTube thumbnail
    Back to Basics: C++ API Design - Jason Turner - CppCon 2022 - YouTube
    Tue Oct 10 09:09:02 2023 - permalink -
    - - - https://www.youtube.com/watch?v=zL-vn_pGGgY
    C++
  • cppbestpractices/00-Table_of_Contents.md at master · cpp-best-practices/cppbestpractices
    Tue Oct 10 09:08:46 2023 - permalink -
    - - - https://github.com/cpp-best-practices/cppbestpractices/blob/master/00-Table_of_Contents.md
    C++
  • Paho MQTT
    Fri Jun 3 17:01:16 2022 - permalink -
    - - - https://github.com/eclipse/paho.mqtt.cpp
    C++ MQTT
  • Introducing qmake2cmake
    Thu Apr 14 09:47:48 2022 - permalink -
    - - - https://www.qt.io/blog/introducing-qmake2cmake
    C++ CMake qmake Qt
  • How to write an ABI compliance checker using Libabigail | Red Hat Developer
    Tue Nov 16 10:32:26 2021 - permalink -
    - - - https://developers.redhat.com/blog/2020/04/02/how-to-write-an-abi-compliance-checker-using-libabigail#conclusion
    ABI C++
  • POSIX : How to create a thread | pthread_create() example & Tutorial – thispointer.com
    Wed Dec 2 13:23:16 2020 - permalink -
    - - - https://thispointer.com/posix-how-to-create-a-thread-pthread_create-example-tutorial/
    C++ pthread
  • OpenSSL 1.1.0 Changes - OpenSSLWiki
    Tue Jan 21 08:55:35 2020 - permalink -
    - - - https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes
    C++ OpenSSL SSL
  • c++ - Using Boost.asio with cmake? - Stack Overflow
    Tue Sep 10 13:44:00 2019 - permalink -
    - - - https://stackoverflow.com/questions/15290386/using-boost-asio-with-cmake
    Boost C++ Linux
  • Creating small Linux images with Buildroot
    Fri Aug 30 09:07:36 2019 - permalink -
    - - - https://blog.conan.io/2019/08/27/Creating-small-Linux-images-with-Buildroot.html
    Buildroot C++ Conan Embedded Linux RaspberryPi
  • CMake Tutorial | CMake
    Thu Jul 18 13:39:25 2019 - permalink -
    - - - https://cmake.org/cmake-tutorial/
    C++ CMake
  • Introduction to CMake by Example | derekmolloy.ie
    Thu Jul 18 13:39:15 2019 - permalink -
    - - - http://derekmolloy.ie/hello-world-introductions-to-cmake/
    C++ CMake
  • Posts - Fluent C++
    Thu Jul 18 11:09:08 2019 - permalink -
    - - - https://www.fluentcpp.com/posts/
    C++
  • GitHub - jkriege2/JKQtPlotter: a Qt Plotter-class (including a fast variant and a LaTeX equation renderer!), written in C/C++
    Mon Jan 7 09:27:57 2019 - permalink -
    - - - https://github.com/jkriege2/JKQtPlotter
    C++ Graph Qt
  • Getting the most of signal/slot connections : Viking Software – Qt Experts

    Le 3ème argument d'un QObject::connect (le contexte) peut être très utile pour éviter les crash en cas de destruction du pointeur visé dans cet argument. Ou en cas de connexion inter-threads.

    Tue Jun 12 09:24:49 2018 - permalink -
    - - - https://www.vikingsoftware.com/getting-the-most-of-signal-slot-connections/
    C++ Qt
  • c - gcov out of memory / mismatched version? - Stack Overflow
    Wed May 30 10:39:31 2018 - permalink -
    - - - https://stackoverflow.com/questions/12454175/gcov-out-of-memory-mismatched-version
    C++ gcov
  • La déclaration anticipée en C++

    Voilà longtemps que je n'avais rien publié sur mon blog "30 minutes par jour". Je pourrai le renommer "30 minutes par an" ;-)

    Wed May 30 09:29:16 2018 - permalink -
    - - - http://30minparjour.la-bnbox.fr/blog/2018/05/30/la-declaration-anticipee-en-cpp/
    30minparjour C++
  • Ranking Programming Languages by GitHub Users
    Mon Feb 19 09:48:46 2018 - permalink -
    - - - http://www.benfrederickson.com/ranking-programming-languages-by-github-users/
    C++ JS Langage
  • Two C++ tricks used in Verdigris implementation
    Fri Feb 16 13:57:05 2018 - permalink -
    - - - https://woboq.com/blog/verdigris-implementation-tricks.html
    C++ Qt
  • c++ - how to check QT_VERSION to include different header? - Stack Overflow

    if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)

    Fri Nov 17 05:51:12 2017 - permalink -
    - - - https://stackoverflow.com/questions/24899558/how-to-check-qt-version-to-include-different-header
    C++ Qt Version
  • Clang-Tidy, part 1: Modernize your source code using C++11/C++14 - KDAB
    Mon May 15 11:01:08 2017 - permalink -
    - - - https://www.kdab.com/clang-tidy-part-1-modernize-source-code-using-c11c14/
    C++ Clang CommandLine
  • C++ Policies/Binary Compatibility Examples - KDE Community Wiki
    Mon May 15 10:57:41 2017 - permalink -
    - - - https://community.kde.org/Policies/Binary_Compatibility_Examples
    C++ Library
  • SEI CERT C++ Coding Standard - SEI CERT C++ Coding Standard - CERT Secure Coding Standards
    Fri Apr 14 15:22:24 2017 - permalink -
    - - - https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=637
    C++
  • DevOps and Continuous Integration challenges in C/C++ projects

    Super article !

    Wed Mar 15 09:32:08 2017 - permalink -
    - - - http://blog.conan.io/2017/03/14/Devops-and-Continouous-Integration-Challenges-in-C-C++-Projects.html
    C C++ Conan ContinuousIntegration Qompoter Qt
  • Leak-freedom C++ | Sutter’s Mill
    Mon Jan 30 15:51:30 2017 - permalink -
    - - - https://herbsutter.com/2016/09/27/my-cppcon-talk-video-is-online/
    C++ Leak
  • How do you stop qmake from trying to strip all installed files? | MythTV | Dev

    When adding some files to INSTALLS, they are stripped if they are excecutables.

    To avoid using strip, you can update "QMAKE_STRIP" variable and force stripping executables one by one using ".extra":

    target.extra = strip $${DESTDIR}/$(TARGET)
    QMAKE_STRIP = echo # Avoid striping unwanted files (which will not work)
    applibs.files = $${DESTDIR}/*.so*
    applibs.path = $$EXPORT_LIBPATH
    INSTALLS += applibs
    Thu Dec 1 15:40:55 2016 - permalink -
    - - - http://www.gossamer-threads.com/lists/mythtv/dev/141885
    C++ make qmake Qt
  • "How to use QThread in the right way (Part 1)" — 1+1=10

    Un autre post sur les QThread.

    Thu Oct 6 09:27:42 2016 - permalink -
    - - - http://blog.debao.me/2013/08/how-to-use-qthread-in-the-right-way-part-1/
    C++ Qt Thread
  • GitHub - Fylhan/qompoter: Dependency manager for Qt / C++.

    Hier, j'ai releasé la v0.2.6 de Qompoter, a C++/Qt dependency manager. Outre les améliorations apportées au truc (recherche récursive des paquets, numéros de versions flous du genre v1.*, recherche des paquets dans Inqlude), cela m'a aussi permis de découvrir les scripts d'auto-complémetion Bash ! Et je surkiffe taper qompoter tab tab et voir la liste des actions possibles apparaître "install export inqlude jsong". C'est beau Linux.

    Qompoter a atteint un niveau de maturité suffisant pour les petits projets, alors n'hésitez pas ! Vos retours sont les bienvenues.

    Wed Oct 5 09:35:22 2016 - permalink -
    - - - https://github.com/Fylhan/qompoter
    C++ Qompoter Qt
  • QMake-top-level-srcdir-and-builddir - Qt Wiki

    Très pratique le fichier .qmake.conf.

    Tue Aug 30 10:35:55 2016 - permalink -
    - - - https://wiki.qt.io/QMake-top-level-srcdir-and-builddir
    C++ qmake Qt
  • Four Habit-Forming Tips to Faster C++ - KDAB

    Pour me rappeler, je m'essai aux résumés.

    Prefer NRVO to RVO

    * RVO = return-value optimization

    MyData myFunction() {
        return MyData(); // Create and return unnamed obj
    }
    MyData abc = myFunction();

    With RVO, the C++ standard allows the compiler to skip the creation of the temporary, treating both object instances—the one inside the function and the one assigned to the variable outside the function—as the same. This usually goes under the name of copy elision. But what is elided here is the temporary and the copy.

    • NRVO = named return-value optimization
    MyData myFunction() {
      MyData result;           // Declare return val in ONE place
      if (doing_something) {
        return result;       // Return same val everywhere
      }
      // Doing something else
      return result;           // Return same val everywhere
    } 
    MyData abc = myFunction();

    Named Return Value Optimization is similar but it allows the compiler to eliminate not just rvalues (temporaries), but lvalues (local variables), too, under certain conditions.

    But many compilers are actualy failing to apply NRVO with the following code:

     MyData myFunction() {
        if (doing_something)
            return MyData();     // RVO expected
    
        MyData result;
    
        // ...
        return result;           // NRVO expected
    } 
    MyData abc = myFunction();

    So previous example has to be preferred.

    Return parameters by value whenever possible

    Surprisingly, don’t use "out-parameters" but prefer "return-by-value", even if it implies creating a small struct in order to return multiple values. I will check that, because it seems strange to me.

    “out” parameter pointers force a modern compiler to avoid certain optimisations when calling non-inlined functions.

    Prefer:

    struct fractional_parts {
        int numerator;
        int denominator;
    };
    
    fractional_parts convertToFraction(double val) {
        int numerator = /*calculation */ ;
        int denominator = /*calculation */ ;
        return {numerator, denominator}; // C++11 braced initialisation -> RVO
    }
    auto parts = convertToFraction(val);
    use(parts.nominator);
    use(parts.denominator);

    than:

    void convertToFraction(double val, int &numerator, int &denominator) {
        numerator = /*calculation */ ;
        denominator = /*calculation */ ;
    }
    
    int numerator, denominator;
    convertToFraction(val, numerator, denominator); // or was it "denominator, nominator"?
    use(numerator);
    use(denominator);    

    Cache member-variables and reference parameters

    Prefer:

    template <class T> 
    complex<T> &complex<T>;::operator*=(const complex<T> &a) {
       T a_real = a.real, a_imag = a.imag;
       T t_real =   real, t_imag =   imag; // t == this
       real = t_real * a_real – t_imag * a_imag;
       imag = t_real * a_imag + t_imag * a_real;
       return *this;
    }

    than:

    template <class T> 
    complex<T> &complex<T>;::operator*=(const complex<T> &a) {
       real = real * a.real – imag * a.imag;
       imag = real * a.imag + imag * a.real;
       return *this;
    }

    It seems the example is too simple to really understand the benefits. I do not want to make my code more complex for such a simple case... I do not like this advice.

    Organise intelligently member variables

    Due to the CPU caches mechanisms (blocks of 64-byte), it is propose to organise member variables in a class as follow:

    • Move the most-frequently-used member-variables first
    • Move the least-frequently-used member-variables last
    • If variables are often used together, group them near each other
    • Try to reference variables in your functions in the order they’re declared

    Why not...

    Mon Aug 22 09:58:09 2016 - permalink -
    - - - https://www.kdab.com/four-habit-forming-tips-faster-c/
    C++ C++11
  • Cutelyst - The Qt Web Framewok

    Oui, un framework Web en Qt.

    Thu Mar 24 09:09:41 2016 - permalink -
    - - - http://cutelyst.org/2016/03/23/cutelyst-0-11-0-released
    C++ Framework Qt Web
  • Advice_Concepts | Boost Library Incubator

    For our purposes, we will define "C++ Type Constraint" in the following way:

    A C++ Template will have one or more type arguments. The template may require that each argument fullfill more or more conditions in order for the template to compile without error. These requirements are called Type Constraints or Type Requirements.

    C++ literature and documentation use the word Concept for this purpose. In fact, this usage of the word Concept is one of the reasons that the subject has been so confusing. Another reason is that it is really only necessary to understand Concepts when writing a templated library. Since very few programmers actually write such code, very few people actually use this idea and hence are unfamilar with it. Our term Type Constraint is exactly equivalent to the C++ term Concept. Either one can be substituted for the other without loss of meaning.

    Un des trucs qui me fascine en C++, c'est que sa communauté contient beaucoup de personnes qui semblent fichtrement intelligentes et qui se posent des problèmes et des questions invraisemblable.
    On retrouve ça ailleurs, comme une partie de la communauté Javascript par exemple (dingue), mais pas partout.

    Wed Mar 23 13:53:04 2016 - permalink -
    - - - http://rrsd.com/blincubator.com/advice_concepts/
    C++
  • [Wandbox]三へ( へ՞ਊ ՞)へ ハッハッ

    Un autre compilateur C++ online.

    Wed Mar 23 13:51:15 2016 - permalink -
    - - - http://melpon.org/wandbox
    C++ Compilation
  • C++: RAII without exceptions - Eli Bendersky's website

    Pour le coup, cet article n'ayant pas pour but d'expliquer RAII l'explique beaucoup mieux que d'autres.

    Tue Feb 23 12:35:16 2016 - permalink -
    - - - http://eli.thegreenplace.net/2016/c-raii-without-exceptions/
    C++ C++11 RAII SmartPointer
  • Qt on Android: How to run C++ code on Android UI thread - KDAB
    Thu Feb 18 13:20:52 2016 - permalink -
    - - - https://www.kdab.com/qt-android-run-c-code-android-ui-thread/
    Android C++ Qt
  • Interactive C++ Compiler online
    Wed Feb 3 10:22:36 2016 - permalink -
    - - - http://gcc.godbolt.org/
    ARM C++ Clang Compilation gcc
  • Visual C++ Compiler Online
    Wed Feb 3 10:22:05 2016 - permalink -
    - - - http://webcompiler.cloudapp.net/
    C++ Compilation MSVC
  • How do I prepare a Raspberry Pi with Raspbian so I can cross compile Qt5 programs from a Linux host? - Stack Overflow

    Franchement, le Web, c'est génial !
    Et GCC, Qt, C++, Linux aussi.

    Quelques infos complémentaires :

    • http://wiki.qt.io/RaspberryPi2EGLFS : Cross-compiler Qt5.6 pour RaspberryPi 2 (ou 1 accessoirement) en utilisant le RaspberryPi pour installer les dépendances requises
    • http://wiki.qt.io/RaspberryPi_Beginners_Guide : Idem mais je ne sais pas trop comment ils installent les dépendances requises
    Tue Jan 26 22:28:09 2016 - permalink -
    - - - http://stackoverflow.com/questions/30120871/how-do-i-prepare-a-raspberry-pi-with-raspbian-so-i-can-cross-compile-qt5-program
    ARM C++ Cross-Compilation Linux RaspberryPi
  • un nouvel IDE léger multi-plateforme supportant le C++11 et C++14
    Sun Dec 27 11:19:02 2015 - permalink -
    - - - http://cpp.developpez.com/actu/94036/juCiplusplus-un-nouvel-IDE-leger-multi-plateforme-supportant-le-Cplusplus11-et-Cplusplus14/
    C++
  • KDAB on Qt: How to use static analysis to improve performance
    Thu Sep 10 13:28:14 2015 - permalink -
    - - - http://www.kdab.com/use-static-analysis-improve-performance/
    C++ Clang
  • C++ Hints

    TBR

    Fri Aug 21 14:41:25 2015 - permalink -
    - - - http://cpphints.com/
    C++ C++11
  • What is C++0x? - Cprogramming.com

    Il va me falloir un peu de temps pour acquérir les réflexes C++11.

    Wed Jul 22 10:43:12 2015 - permalink -
    - - - http://www.cprogramming.com/c++11/what-is-c++0x.html
    C++ C++11
  • CMake Manual | Qt 5.5

    Premiers essais de CMake aujourd'hui :-) Depuis le temps que je souhaitais m'y frotter.

    J'aimerai bien que mon petit projet Qompoter (https://github.com/Fylhan/qompoter) sache faire du qmake et du CMake

    • Site officiel CMake : http://www.cmake.org/
    • Tutoriel CMake : http://www.cmake.org/cmake-tutorial/
    • Qt Wiki - CMake with Qt4 : https://wiki.qt.io/Using_CMake_build_system
    Fri Jul 17 15:22:59 2015 - permalink -
    - - - http://doc.qt.io/qt-5/cmake-manual.html
    C++ cmake Qompoter Qt
  • New in Qt 5.5: Q_ENUM and the C++ tricks behind it

    Jusqu'à aujourd'hui, j'avais un petit script qui me générait tout ce qui va bien pour un enum C++ (avec des binding Qt). Mais Q_ENUM fait ça tout seul !

    Fri Jul 3 10:55:42 2015 - permalink -
    - - - http://woboq.com/blog/q_enum.html
    C++ Code
  • Semaphores are Surprisingly Versatile

    Cette explication des sémaphores / mutex et autre semblent très intéressantes.

    Tue Mar 17 10:00:57 2015 - permalink -
    - - - http://preshing.com/20150316/semaphores-are-surprisingly-versatile
    C++ Lock-Free Semaphore
Links per page: 20 50 100
◄Older
page 1 / 2
Shaarli - The personal, minimalist, super-fast, no-database delicious clone by the Shaarli community - Help/documentation