after 27 years I finally understood why I never understood C++
I always assumed << is just a bit wise operator, but it never made a lot of sense for all the stream operations.
So TIL: THATS ALL?!
C++26: more constexpr in the standard library
https://www.sandordargo.com/blog/2025/04/30/cpp26-constexpr-library-changes
#cpp
#cplusplus
ISO C++ has launched it's annual Developer survey: https://isocpp.org/blog/2025/04/2025-annual-cpp-developer-survey-lite
VS Code C++ Extension 1.25 Release: Explain C++ symbols using Copilot & Customize recursive include paths
https://devblogs.microsoft.com/cppblog/vs-code-c-extension-1-25-release-explain-c-symbols-using-copilot-customize-recursive-include-paths/
#cpp
#cplusplus
Sane C++ Libraries April 2025 release:
Process fork
Struct dumping
Async vectorized writes
Tools update
Repo restructuring
Blog:
https://pagghiu.github.io/site/blog/2025-04-30-SaneCppLibrariesUpdate.html
Github:
https://github.com/Pagghiu/SaneCppLibraries/releases/tag/release%2F2025%2F04
Have a nice week!
#cpp #cplusplus #programming
#CppPollOfToday: Which standard attributes do you use?
https://meetingcpp.com/mcpp/survey/?q=74
#cplusplus
#cpp
Pure Virtual C++ 2025 is Tomorrow (Wed 2025-04-30, 14:00-16:30 UTC)
https://devblogs.microsoft.com/cppblog/pure-virtual-cpp-2025-is-tomorrow/
Discussions: https://discu.eu/q/https://devblogs.microsoft.com/cppblog/pure-virtual-cpp-2025-is-tomorrow/
So, I know - it's over for a while.
I have add sounds for the game
P.S: Thanks for sounds to https://www.filmcow.com/
https://gitlab.com/xolatgames/birdy-wants-crisps
On PeerTube: https://fediverse.tv/w/hTjZ9PLkmMt6tXNqUpbT9F
Book of the Day: Notebook C++: About Move Semantics by Andreas Fertig
https://meetingcpp.com/mcpp/books/book.php?hash=2df12a44dcdc9d8e0d4a52cbc078d14d2d9f99b6
#cplusplus
#cpp
Todays work (and paretially yesterdays): search why test suite crash at the very end after all test passed.
Destructor calling through dangling pointer, when global arrays are destroyed, but debugger does not show where.
Reason: static array inside test function, hence destructors called super late when almost all is already destroyed.
Fix: make non-static. That simple.
Question: what will break after the fix?
Another day in C++ devs life.
Exciting news!
I'm now offering bespoke C++ training, mentoring & consulting: https://romeo.training
While current availability is limited (weekends/off-hours), I'm keen to connect with potential clients for future projects as my schedule evolves.
RTs appreciated! #cpp
What if you were writing less code that is easy to maintain?
I'll be giving a 1-day workshop "Safe and Efficient C++ for Embedded Environments"
Come and join me there!
You can find more information and a sign-up button here:
https://andreasfertig.com/courses/safe-and-efficient-cpp-for-embedded-environments/
GCC's atomic builtins + `__builtin_is_aligned(ptr, 2)` ⇒ pointer tagging without casting
https://compiler-explorer.com/z/reT5YaGEx
Discussions: https://discu.eu/q/https://compiler-explorer.com/z/reT5YaGEx
#CppPollOfToday: Which kind of code do you write in your job?
https://meetingcpp.com/mcpp/survey/?q=67
#cplusplus
#cpp
Interesting idea, although I don't know if it needs to be a primitive. The os.tree() function in #Python does this for file systems and, as a model, could be used as the basis for other kinds of tree structures. (Note that os.tree() also properly handles both top down and bottom up processing.)
> Programming languages should have a tree traversal primitive. https://blog.tylerglaiel.com/p/programming-languages-should-have