51
52
53
54
55
C++ resources (github.com)
submitted 8 months ago by to c/cpp@programming.dev
56
 
 

Following the recent idea floated to consider C++20 as the default C++ language dialect by the GCC compiler rather than C++17, it was discovered that the GNU Compiler Collection itself has problems building in C++20 model.

Compared to the default C++17 (GNU++17) dialect currently used by the GCC compiler, when trying to compile GCC in C++20 mode it uncovered some issues of its own. Red Hat compiler engineer Jakub Jelinek noted on the GCC mailing list while providing patches to address C++20 build errors in GCC

57
 
 

Compiler engineer Marek Polacek of Red Hat recently proposed making the C++20 language specification (or rather the GNU++20 dialect) the default C++ version when not otherwise specified.

Polacek proposed declaring GCC's C++20 support no longer experimental and to use it as the default. The current default dialect is C++17 (GNU++17) that was set five years ago.

58
59
60
61
62
63
64
submitted 9 months ago* by to c/cpp@programming.dev
 
 

Qt Creator 18 adds experimental support for Development Containers and many more improvements.

65
 
 

Fil-C is a memory-safe implementation of C and C++ that aims to let C code — complete with pointer arithmetic, unions, and other features that are often cited as a problem for memory-safe languages — run safely, unmodified. Its dedication to being "fanatically compatible" makes it an attractive choice for retrofitting memory-safety into existing applications. Despite the project's relative youth and single active contributor, Fil-C is capable of compiling an entire memory-safe Linux user space (based on Linux From Scratch), albeit with some modifications to the more complex programs. It also features memory-safe signal handling and a concurrent garbage collector.

66
Fil-C (fil-c.org)
submitted 9 months ago by to c/cpp@programming.dev
67
Qt 6.10 Released (www.qt.io)
submitted 9 months ago by to c/cpp@programming.dev
 
 

Qt 6.10 is now available, with new features and improvements for application developers and device creators!

Highlights for UI builders include a new flex-box layout system for Qt Quick, and support for more vector animations in SVG and Lottie format. And we have listened to your feedback and made it easier to exchange data between C++ code and a Qt Quick UI developed in QML. Such data can then be used with the new SearchField control, or with a new FilledSurface graph from the Qt Graphs module.

If you prefer to maintain your existing codebase, upgrading to Qt 6.10 ensures your application automatically aligns with high-contrast system settings on both desktop and mobile platforms. This and other improvements in our accessibility implementation directly benefits users reliant on assistive technologies, improving usability and inclusivity without requiring any additional development effort.

In addition to these highlights, new APIs across the Qt modules bring increased flexibility and productivity for both QML and C++ developers, and for users of Qt Widgets and Qt Quick.

68
69
70
C++26: std::optional<T&> (www.sandordargo.com)
submitted 9 months ago by to c/cpp@programming.dev
71
Box of bugs (emulated) (pvs-studio.com)
submitted 10 months ago by to c/cpp@programming.dev
72
73
 
 

I've always found C++'s "trend" of handling normal or non-exceptional system errors with exceptions lackluster (and I'm being charitable). Overall trimming things down to (basically) passing around a couple integers and telling the user to check their manual is much better, much less error prone, and much more efficient and deterministic.

74
 
 

cross post from: https://programming.dev/post/37369902

Hi everyone,

we, the iceoryx community, just released iceoryx2 v0.7, an ultra-low latency inter-process communication framework for Rust, C, C++ and with this release, Python.

If you are into robotics, embedded real-time systems (especially safety-critical), autonomous vehicles or just want to hack around, iceoryx2 is built with you in mind.

Check out our release announcement for more details: https://ekxide.io/blog/iceoryx2-0-7-release

And the link to the project: https://github.com/eclipse-iceoryx/iceoryx2

75
view more: ‹ prev next ›