Vibe Coding C++ - Jens Weller - Meeting C++ online
I've talked about my experiments with testing chatbots for their code generation with C++
Vibe Coding C++ - Jens Weller
by Jens Weller
March 19-21, Madrid, Spain
April 1-4, Bristol, UK
June 16-21, Sofia, Bulgaria
By Meeting C++ | Apr 27, 2025 04:40 AM | Tags: meetingcpp intermediate experimental community basics
I've talked about my experiments with testing chatbots for their code generation with C++
Vibe Coding C++ - Jens Weller
by Jens Weller
By Meeting C++ | Mar 20, 2024 02:07 AM | Tags: performance meetingcpp intermediate experimental community c++20 advanced
A post on how to provide a pointer to a Qt Model/View or other APIs storing pointers to their data without using shared_ptr or unique_ptr for the actual object.
Providing a stable memory address
by Jens Weller
From the article:
Some APIs allow you to store a pointer to your data element. This is used to access additional information from your types to display them in Model/View Architecture.
A while ago I showed how you can implement a tree with shared_ptr and enable_shared_from_this and then display this in QTreeView. And when working on my current project I knew this problem would come around again. Maybe not for a tree and a tree view, but I'll clearly need to have some way to have ui panels display and edit my data classes and store a stable memory adress as a pointer in Qt models. Back in 2015 the Qt5 example still used a pointer allocated with raw new for this, in Qt6 the example uses unique_ptr. Using shared_ptr for this back in 2015 was a good decision, and the code works very well. For the moment I don't see that my current project would need to make use of enable_shared_from_this, so using unique_ptr would be a good option...
By Marco Arena | Mar 8, 2023 04:36 AM | Tags: thatsarotate ranges experimental c++20 advanced
Revisiting a classical programming puzzle in next generation C++:
Merging intervals in next-gen C++
by Marco Arena
From the article:
A few weeks ago, I set this problem at Coding Gym: given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input...
By Jordi Mon Companys | Jul 20, 2022 01:14 AM | Tags: experimental
An experimental successor to C++
About Carbon:
C++ remains the dominant programming language for performance-critical software, with massive and growing codebases and investments. However, it is struggling to improve and meet developers' needs outlined above, in no small part due to accumulating decades of technical debt. Incrementally improving C++ is extremely difficult, both due to the technical debt itself and challenges with its evolution process. The best way to address these problems is to avoid inheriting the legacy of C or C++ directly, and instead start with solid language foundations like a modern generics system, modular code organization, and consistent, simple syntax.
By Adrien Hamelin | Apr 27, 2022 08:26 AM | Tags: experimental c++20
Time to update.
New C++ features in GCC 12
by Marek Polacek
From the article:
Version 12.1 of the GNU Compiler Collection (GCC) is expected to be released in April 2022. Like every major GCC release, this version will bring many additions, improvements, bug fixes, and new features. GCC 12 is already the system compiler in Fedora 36. GCC 12 will also be available on Red Hat Enterprise Linux in the Red Hat Developer Toolset (version 7) or the Red Hat GCC Toolset (version 8 and 9).
Like the article I wrote about GCC 10, this article describes only new features affecting C++.
We implemented several C++23 proposals in GCC 12. The default dialect in GCC 12 is -std=gnu++17; to enable C++23 features, use the -std=c++23 or -std=gnu++23 command-line options. (The latter option allows GNU extensions.)
Note that C++20 and C++23 features are still experimental in GCC 12...
By Meeting C++ | Oct 23, 2021 07:28 AM | Tags: meetingcpp intermediate experimental coroutines community c++20 basics advanced
Last Thursday Meeting C++ online hosted a 2 hour long live coding session about using C++20 coroutines for asynchronous parsers
Meeting C++ online - Andreas Reischuck - Using C++20 coroutines for asynchronous parsers
by Andreas Reischuck
By Meeting C++ | Apr 1, 2021 05:46 AM | Tags: performance meetingcpp experimental community basics
A new blog article on an exciting idea for C++
Taming the power of C++ with AI
by Jens Weller
From the article:
In January Bryce Adelstein Lelbach gave a talk about NDVIDIAS CUDASTL fork at my online C++ User Group. Shortly after this talk was published on YouTube I got contacted by a start up, seeking feedback on their ideas of accelerating C++ with help of GPUs and AI...
By Meeting C++ | Jan 21, 2021 09:04 AM | Tags: performance meetingcpp experimental efficiency advanced
Last week Bryce Adelstein Lelbach spoke about The CUDA C++ Standard Library at Meeting C++ online
The CUDA C++ Standard Library
by Bryce Adelstein Lelbach
By Meeting C++ | Dec 8, 2020 09:12 AM | Tags: performance meetingcpp intermediate experimental efficiency community basics advanced
This years center keynote given by Teresa Johnson
ThinLTO Whole Program Optimization - Meeting C++ 2020 Center Keynote
by Teresa Johnson
By Meeting C++ | Nov 25, 2020 10:55 AM | Tags: performance meetingcpp experimental efficiency community basics advanced
A talk on implementing STL Algorithms with SIMD
Denis Yaroshevskiy - my first SIMD - Meeting C++ online