26
1
submitted 2 years ago by [email protected] to c/[email protected]

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

Is there a library for C, providing thread safe (high performance), and structured logging? An example for rust is the Tracing crate for rust (from Tokio). It should support several outputs as well.

27
1
submitted 2 years ago by [email protected] to c/[email protected]
28
1
submitted 2 years ago by [email protected] to c/[email protected]
29
1
New C++ features in GCC 13 (developers.redhat.com)
submitted 2 years ago by [email protected] to c/[email protected]

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

30
1
submitted 2 years ago by [email protected] to c/[email protected]
31
1
submitted 2 years ago by [email protected] to c/[email protected]

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

32
1
submitted 2 years ago by [email protected] to c/[email protected]

Trip report from the first C++26 ISO meeting

33
1
submitted 2 years ago by [email protected] to c/[email protected]
34
1
submitted 2 years ago by [email protected] to c/[email protected]

r/cpp comments

35
1
submitted 2 years ago by [email protected] to c/[email protected]

Reddit comments r/computerscience

36
1
submitted 2 years ago by [email protected] to c/[email protected]
37
1
submitted 2 years ago by [email protected] to c/[email protected]
38
1
submitted 3 years ago by [email protected] to c/[email protected]
39
1
submitted 3 years ago by [email protected] to c/[email protected]
40
1
submitted 3 years ago by [email protected] to c/[email protected]

Because the world isn't weird enough?

41
1
submitted 3 years ago by [email protected] to c/[email protected]
42
1
submitted 3 years ago by [email protected] to c/[email protected]
43
1
boost v1.78.0 release (www.boost.org)
submitted 3 years ago by [email protected] to c/[email protected]
44
1
submitted 3 years ago by [email protected] to c/[email protected]

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?

45
1
submitted 3 years ago by [email protected] to c/[email protected]
46
1
submitted 3 years ago by [email protected] to c/[email protected]
47
1
submitted 3 years ago by [email protected] to c/[email protected]

I haven't really understood the difference between

i++ and ++i

48
1
submitted 4 years ago by [email protected] to c/[email protected]

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?

49
1
submitted 4 years ago by [email protected] to c/[email protected]
50
1
submitted 4 years ago by [email protected] to c/[email protected]
view more: ‹ prev next ›

C & C++

1002 readers
7 users here now

founded 5 years ago
MODERATORS