C & C++

976 readers
1 users here now

founded 6 years ago
MODERATORS
26
 
 
27
1
New C++ features in GCC 13 (developers.redhat.com)
submitted 2 years ago by JRepin@lemmy.ml to c/cpp@lemmy.ml
 
 

cross-posted from: https://lemmy.ml/post/1447800

The latest major version of the GNU Compiler Collection (GCC), 13.1, was released in April 2023. Like every major GCC release, this version brings many additions, improvements, bug fixes, and new features. GCC 13 is already the system compiler in Fedora 38. Red Hat Enterprise Linux (RHEL) users will get GCC 13 in the Red Hat GCC Toolset (RHEL 8 and RHEL 9). It's also possible to try GCC 13 on godbolt.org and similar web pages.

Like the article I wrote about GCC 10 and GCC 12, this article describes only new features implemented in the C++ front end; it does not discuss developments in the C++ language itself. Interesting changes in the standard C++ library that comes with GCC 13 are described in a separate blog post: New C features in GCC 13

28
 
 
29
 
 

Trip report from the first C++26 ISO meeting by foonathan

30
 
 

Trip report from the first C++26 ISO meeting

31
 
 
32
 
 

r/cpp comments

33
 
 

Reddit comments r/computerscience

34
 
 
35
36
37
38
 
 

Because the world isn't weird enough?

39
40
41
42
 
 

I don't know I feel like there aren't many resources to learn C++. Maybe it is because I am not looking hard enough. Can someone here recommend some websites or videos?

43
44
45
 
 

I haven't really understood the difference between

i++ and ++i

46
 
 

cross-posted from: https://lemmy.ml/post/70930

I am learning C++ and in my book using namespace std is written in every program. I understand that std::cout <<"hello"; can be simply written as cout << "hello"; by using namespace std.

Why?

47
48
49
 
 

Rob and Jason are joined by Arnaud Desitter. They first discuss blog posts on parameter passing, fuzzing and push_back vs emplace_back. Then they talk to Arnaud Desitter about his successes improving application performance by reducing memory allocations found using heaptrack.

50
 
 

Rob and Jason are joined by Raymond Chen from Microsoft. They first talk about Herb Sutter’s virtual ISO Plenary Trip Report and some new features voted into the C++23 draft. Then they talk to Raymond Chen from Microsoft about his career working on Windows and the Old New Thing blog.

view more: ‹ prev next ›